Skip to main content

Stel Package Manager: stel.rs

Author: Mahesh

The Stel package manager, stel.rs, is a powerful tool for managing, building, and publishing StelLang projects and libraries. Inspired by Cargo, it is optimized for the StelLang ecosystem and provides a fast, intuitive workflow for developers.

Why Use stel.rs?

  • Project Initialization: Quickly scaffold new StelLang projects.
  • Dependency Management: Add, update, and remove dependencies with ease.
  • Building & Running: Compile and run your StelLang code efficiently.
  • Testing: Run tests to ensure code quality.
  • Documentation: Generate and view project documentation.
  • Publishing: Share your packages with the community via the Stel Registry.

Installation

stel.rs is included when you build StelLang from source. See the Download & Install Guide for details.

Common Commands

CommandDescription
stel initInitialize a new Stel project
stel buildBuild the current project
stel runRun the current project
stel testRun tests in the project
stel docGenerate documentation
stel publishPublish the project to the Stel Registry
stel installInstall a package from the registry
stel add <pkg>Add a dependency to your project

Example Usage

Initialize a Project

stel init my_project
cd my_project

Add a Dependency

stel add example-http

Build and Run

stel build
stel run

Publish to Registry

stel publish

Registry

The default registry is: https://stellang.maheshdhingra.xyz/registry

More Information


This documentation is maintained by Mahesh. Contributions and feedback are welcome!