Installation
Ruso is distributed as a single binary, ruso. While the crates are not yet on
crates.io, you install from source with Cargo.
Prerequisites
- Rust (stable) and Cargo — install via rustup.
- A C toolchain (for building native TLS/crypto dependencies). On Debian/Ubuntu:
sudo apt install build-essential pkg-config libssl-dev.
Install with Cargo (recommended)
Install the ruso binary straight from the repository:
cargo install --git https://github.com/Hopeless-Labs/ruso.git ruso-cli
ruso-cli is the package name; ruso is the binary it installs. Cargo builds
the ruso-runtime and ruso-script crates out of the same workspace. The
binary lands in ~/.cargo/bin/ruso (make sure that's on your PATH).
Build from a checkout
If you want to hack on Ruso, clone the workspace and build:
git clone https://github.com/Hopeless-Labs/ruso.git
cd ruso
cargo build --release
# binary at ./target/release/ruso
All three crates are in that one checkout:
ruso/
└── crates/
├── ruso-cli/
├── ruso-runtime/
└── ruso-script/
A change to the runtime or the compiler is picked up by the CLI immediately — they are path dependencies within the workspace, so there is nothing to clone as a sibling and no override to configure.
Verify
ruso --help
ruso --version
You should see the command list (scan, validate, compile, exec, plus the
registry commands). Next: Quick Start.
Configuration locations
Ruso keeps two things on disk:
| Path | Purpose |
|---|---|
~/.ruso/scripts/<ns>/<name>/<version>.rbc | Local install cache for registry scripts. Override the root with $RUSO_HOME. |
$XDG_CONFIG_HOME/ruso/credentials.json | Registry credentials, per registry URL (mode 0600 on Unix). |
Neither is created until you install a script or log in to a registry.