Skip to main content

atmos version track

Use atmos version track (alias: tracks) to manage software versions declared under version: in atmos.yaml, resolved into versions.lock.yaml, and applied to project files by the file managers.

The top-level atmos version command reports and manages the Atmos CLI itself. atmos version track manages software versions whether Atmos installs and runs the software locally through Toolchain, or only tracks, locks, and renders the version into files such as GitHub Actions workflows, container image references, templates, and configuration.

Usage

atmos version track <subcommand> [track] [flags]

Most subcommands accept an optional [track] argument. The target track resolves in this order: positional argument, --track flag, version.track in atmos.yaml, then default.

Subcommands

SubcommandDescription
listList configured version tracks as a dependency x track version matrix.
showShow a track's effective entries after defaults and group policies are applied.
getShow one dependency entry with its effective policy and lock state.
addAdd a dependency entry to atmos.yaml.
setUpdate fields of an existing dependency entry.
removeRemove a dependency entry.
lockResolve desired versions as-is and write the lock file.
updateAdvance locked versions within policy.
statusShow policy-aware lock and update status.
diffShow entries that are unlocked or have policy-eligible updates.
applyRewrite version-managed files from the lock.
verifyCI gate for lock freshness and managed-file currency.

Global Flags

--format
Output format: yaml (default) or json.
--track
Version track to operate on. A positional [track] argument takes precedence.

Example

atmos version track status prod --format=json
atmos version track apply prod --check
atmos version track verify prod

See Also