Complete reference for all atmos toolchain subcommands, flags, and usage patterns.
| Flag | Env Var | Default | Description |
|---|---|---|---|
--github-token |
ATMOS_GITHUB_TOKEN, GITHUB_TOKEN |
-- | GitHub authentication token (hidden) |
--tool-versions |
ATMOS_TOOL_VERSIONS |
.tool-versions |
Path to .tool-versions file |
--toolchain-path |
ATMOS_TOOLCHAIN_PATH |
XDG data dir, .tools fallback |
Tool installation directory |
Install tools from .tool-versions or by name.
Prefer declarative dependencies.tools for normal Atmos execution. Use this command for manual
bootstrap, cache warming, shell setup, ad-hoc verification, or tools outside a component/workflow/
custom-command execution context.
atmos toolchain install [tool@version] [flags]atmos toolchain install # Warm/install .tool-versions for a shell or cache
atmos toolchain install terraform@1.9.8 # Ad-hoc install a specific version
atmos toolchain install jq # Bootstrap a repo-wide default toolRemove an installed tool.
atmos toolchain uninstall <tool@version>Add a tool to the .tool-versions file.
atmos toolchain add <tool[@version]>...If no version is specified, the latest available version is used.
atmos toolchain add terraform # Add latest version
atmos toolchain add terraform@1.9.8 # Add specific version
atmos toolchain add terraform kubectl helm # Add multiple toolsRemove a tool from the .tool-versions file.
atmos toolchain remove <tool[@version]>Set the default version for a tool when multiple versions are installed.
atmos toolchain set <tool> <version>Get the version of a tool from the .tool-versions file.
atmos toolchain get [tool]Show installed tools with version, size, and installation date.
atmos toolchain listDisplay tool configuration from the registry.
atmos toolchain info <tool>Shows: package type, source, supported platforms, available versions.
Show the full filesystem path to a tool binary.
atmos toolchain which <tool>Search for tools across all configured registries.
atmos toolchain search <query>List all configured tool aliases.
atmos toolchain aliasesExecute a tool with a specific version, installing it first if needed.
atmos toolchain exec <tool@version> [-- args...]atmos toolchain exec terraform@1.9.8 -- plan
atmos toolchain exec jq@1.7.1 -- '.foo' file.jsonOutput PATH environment variables for shell evaluation.
atmos toolchain env [--format=bash|json|fish|powershell|github] [--relative]| Flag | Default | Description |
|---|---|---|
--format |
bash |
Output format (bash, json, fish, powershell, github) |
--relative |
false | Use relative paths instead of absolute |
eval "$(atmos toolchain env)" # Bash/Zsh
eval "$(atmos toolchain env --format=bash)" # Explicit bash
atmos toolchain env --format=fish | source # Fish
atmos toolchain env --format=powershell | Invoke-Expression # PowerShell
atmos toolchain env --format=github # GitHub Actions; appends to $GITHUB_PATH when setPrint PATH entries for installed tools (one per line).
atmos toolchain pathShow disk usage of installed tools and cache.
atmos toolchain duRemove all installed tools and cached registry data.
atmos toolchain cleanList configured registries or tools in a specific registry.
atmos toolchain registry list [name]atmos toolchain registry list # List all registries
atmos toolchain registry list aqua # List tools in aqua registrySearch for tools across all configured registries.
atmos toolchain registry search <query>registries:
- name: aqua
type: aqua
source: https://github.com/aquaproj/aqua-registry/tree/main/pkgs
ref: v4.260.0 # Optional: pin to specific registry version
priority: 10Source formats:
- GitHub tree URL:
https://github.com/owner/repo/tree/ref/path - File path:
file://./registry.yaml(single file) - File directory:
file://./pkgs/(per-package structure)
registries:
- name: custom
type: atmos
priority: 150
tools:
owner/repo:
type: github_release # or http
url: "asset_{{.Version}}_{{.OS}}_{{.Arch}}.tar.gz"
format: tar.gz # tar.gz, zip, gz, raw
files:
- name: binary-name
src: path/in/archive| Type | Description |
|---|---|
github_release |
Download from GitHub release assets |
http |
Download from arbitrary HTTP URL |
| Format | Description |
|---|---|
tar.gz |
Gzip tarball |
zip |
ZIP archive |
gz |
Single gzip-compressed binary |
raw |
Uncompressed binary |
pkg |
macOS installer package |