Installation
Install truto with one command. It runs on Linux and macOS (x64 and arm64) and on Windows (x64).
Linux / macOS
curl -fsSL https://cli.truto.one/install.sh | bashThe installer detects your OS and architecture, downloads the correct binary, and installs it to ~/.truto/bin/truto. It adds ~/.truto/bin to PATH in whichever of ~/.bashrc, ~/.zshrc and ~/.profile you have, under a # Truto CLI line, and on macOS creates ~/.zshrc if it is missing. For another shell, such as fish, add ~/.truto/bin to PATH yourself.
Install options (Linux / macOS)
# Install a specific version
curl -fsSL https://cli.truto.one/install.sh | TRUTO_VERSION=1.0.36 bash
# Install to a custom directory
curl -fsSL https://cli.truto.one/install.sh | TRUTO_INSTALL_DIR=/usr/local/bin bashSet the variables on bash, not on curl — the installer reads them from its own environment.
Every download is checked against the release's SHA256SUMS manifest, and the installer refuses to continue if the manifest can't be fetched or the digest doesn't match. For an old pinned release that has no manifest, add TRUTO_SKIP_CHECKSUM=1 alongside TRUTO_VERSION to install it unverified.
Windows (PowerShell)
irm https://cli.truto.one/install.ps1 | iexInstalls to %USERPROFILE%\.truto\bin\truto.exe and adds that directory to your user PATH. Open a new terminal after install so the updated PATH is picked up.
Windows on ARM: The installer downloads the x64 binary, which runs under Windows' x64 emulation layer. WSL users can use the Linux install script (install.sh) inside their distro instead.
Install options (Windows)
# Install a specific version
$env:TRUTO_VERSION='1.0.36'; irm https://cli.truto.one/install.ps1 | iex
# Install to a custom directory
$env:TRUTO_INSTALL_DIR='C:\Tools\truto'; irm https://cli.truto.one/install.ps1 | iexAgent skills
The CLI keeps Truto's agent skills (trutohq/truto-skills) installed for the coding agents on your machine. Once a day, before a command runs, it refreshes them in the background, the same as npx skills add trutohq/truto-skills -g -y, and logs to ~/.truto/skills-sync.log. It skips this when CI is true or 1, and stops for good if you remove the skills.
# Install or update the skills now (alias: truto skills update)
truto skills install
# Turn the background refresh off
export TRUTO_NO_SKILL_SYNC=1Upgrading
# Print the installed version
truto --version
# Check if a newer version is available
truto upgrade --check
# Upgrade to the latest version
truto upgrade
# Re-download even if already on the latest version
truto upgrade --forceThe upgrade command fetches the latest release from cli.truto.one, downloads the platform-specific binary, checks it against the release's SHA256SUMS, and replaces the currently running binary in place.
On Linux and macOS, if the CLI was installed to a system directory (for example /usr/local/bin), you may need to run sudo truto upgrade. On Windows, run PowerShell as administrator only if you installed to a protected directory.
In a terminal, the CLI checks for a new release once a day and asks before upgrading. It skips the check with CI=true and under a machine-readable -o (json, yaml, csv or ndjson). truto upgrade --check checks on demand.
Uninstall
- Linux / macOS: delete
~/.truto/bin/truto, and remove the# Truto CLIline and theexport PATH=…line below it from~/.bashrc,~/.zshrcand~/.profile. - Windows: delete
%USERPROFILE%\.truto\bin\truto.exe, and remove%USERPROFILE%\.truto\binfrom your userPathenvironment variable. - To remove saved tokens, keys, caches and logs too, delete
~/.truto(Windows:%USERPROFILE%\.truto).
If you installed to a custom directory with TRUTO_INSTALL_DIR, delete the binary from there instead.
Next steps
Create an API token in the dashboard (Settings → API Tokens), log in with truto login, then follow the CLI overview quick start to check the login with truto whoami and explore your environment.