TrylleDocs
CLI

Install the CLI

Install Trylle CLI with npm, uv, or Cargo, verify the executable, and manage updates.

The preferred installation is the scoped npm package. It installs a prebuilt binary and exposes both try and trylle-cli.

npm install -g @trylle/trylle-cli
try version

Available installation methods

npm

Requires Node.js 18 or later.

npm install -g @trylle/trylle-cli

The unscoped trylle-cli npm package is also published, but the scoped package is the canonical choice for a new installation.

For a one-time command without a global install:

npx trylle-cli version

uv and PyPI

The PyPI package requires Python 3.9 or later and installs both command names.

uv tool install trylle-cli
try version

For a one-time command:

uvx trylle-cli version

Cargo

Cargo compiles from source and therefore takes longer, but it is the fallback for platforms without an official prebuilt package.

cargo install trylle-cli
trylle-cli version

Cargo uses the long command name

The crate installs trylle-cli, not the try alias. Replace try with trylle-cli in the examples throughout this documentation.

Prebuilt platform support

Official npm and PyPI packages currently contain binaries for:

Operating systemArchitecturePackage label
macOSApple Silicon / ARM64darwin-arm64
LinuxARM64linux-arm64
Linuxx86-64linux-x64

Windows and macOS Intel binaries are not currently included in the prebuilt packages. Use a source build where the Rust dependencies support the target.

Verify the installation

try version
try about
try --help

If the shell cannot find try, confirm that the global npm or uv tool bin directory is on PATH. Also try trylle-cli version to distinguish a missing alias from a missing installation.

Check for updates

try version check
try version update

For non-interactive use, add --yes to the update command. Scripts and agents can also request JSON output from the version commands.

The updater recognizes npm, uv, and Homebrew-managed installations. A binary built with Cargo or otherwise copied locally is treated as a local install; try version update then installs the canonical scoped npm package. Use cargo install trylle-cli --force instead when you want to stay on a source-built installation.

Remove the CLI

Use the package manager that installed it:

npm uninstall -g @trylle/trylle-cli
uv tool uninstall trylle-cli
cargo uninstall trylle-cli

Removing the binary does not remove ~/.config/trylle-cli/config.json or any installed agent skill. Use try auth logout and try skill uninstall deliberately if those files should also be removed.

On this page