rux install
Purpose
Install dependencies
Synopsis
rux install
rux install [namespace]/[package]
rux install [namespace]/[package]@[requirement]
Behavior
Without an operand, installs registry dependencies from the current package or every workspace member. With a namespaced identity, installs that package without adding it to the manifest. Resolution honors requirements, target conditions, transitive dependencies, yank state, MinRux, published SHA-256 checksums, and exact-version cache directories.
Arguments
| Argument | Required | Description |
|---|---|---|
package | No | A namespaced package identity and optional requirement |
Options
| Option | Description |
|---|---|
--registry <url> | Registry API base URL to resolve and download from |
--target <triple> | Install dependencies applicable to a target platform |
Global options may appear before or after the command. See Global options.
Output and exit status
Primary results are written to stdout. Progress, warnings, and errors are written to stderr.
Success exits 0, invalid command-line usage exits 2, and compiler, validation, filesystem, network, or generation failures exit 1 unless stated otherwise above.
Examples
rux install
rux install Rux/Io
rux install Rux/Io@^0.1.0
rux install --target windows-x86_64
rux install --registry http://localhost:8080
Environment variables
RUX_REGISTRY_URL sets the registry when --registry is absent.
LOCALAPPDATA on Windows or HOME elsewhere determines the user package cache.
The global color environment behavior is described under Global options.