Skip to navigation

Install the CLI

The CLI currently builds from a NeMo Fabric source checkout. Install it with Cargo:

cargo install --path crates/fabric-cli --locked

Set up the checkout’s Python environment when you want to run presets backed by Python adapters:

uv sync --all-groups --all-extras
export ADAPTER_PYTHON="$PWD/.venv/bin/python"

ADAPTER_PYTHON tells the Rust runtime which interpreter contains the selected adapter and harness. Use an absolute path if you run nemo-fabric outside the checkout.

Verify that the executable is available:

nemo-fabric --version

If the command is not found, add Cargo’s binary directory to your PATH:

export PATH="$HOME/.cargo/bin:$PATH"

When developing the CLI, run the workspace binary without installing it:

cargo run -p nemo-fabric-cli -- preset list

Installing the Python SDK does not install the CLI. Adapter packages and credentials are also separate requirements for presets that launch an external harness. Use the credential-free scripted preset to verify the CLI by itself.