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 versionAvailable installation methods
npm
Requires Node.js 18 or later.
npm install -g @trylle/trylle-cliThe 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 versionuv and PyPI
The PyPI package requires Python 3.9 or later and installs both command names.
uv tool install trylle-cli
try versionFor a one-time command:
uvx trylle-cli versionCargo
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 versionCargo 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 system | Architecture | Package label |
|---|---|---|
| macOS | Apple Silicon / ARM64 | darwin-arm64 |
| Linux | ARM64 | linux-arm64 |
| Linux | x86-64 | linux-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 --helpIf 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 updateFor 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-cliRemoving 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.