Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ton-blockchain/acton/llms.txt
Use this file to discover all available pages before exploring further.
acton up downloads and installs Acton CLI releases from GitHub. It fetches the release archive matching your current platform, verifies the SHA256 checksum, and replaces the running binary in place. By default, stable builds update to the latest stable release and trunk builds stay on the trunk channel — but you can switch channels, pin to a specific version, or list all available releases at any time.
Synopsis
Options
| Flag | Type | Default | Description |
|---|---|---|---|
VERSION | string | — | Specific version tag to install (e.g. 1.2.0) |
--trunk | flag | — | Install the most recent trunk (bleeding-edge) release |
--stable | flag | — | Install the latest stable release |
--force | flag | — | Reinstall even if already up to date |
--list | flag | — | List available release tags and exit (read-only) |
VERSION, --trunk, --stable, and --list are mutually exclusive. Use exactly one at a time.Channel selection
Acton tracks which channel you are on and defaults to the appropriate update behaviour:| Current build | Command | Result |
|---|---|---|
| Stable | acton up | Update to latest stable |
| Trunk | acton up | Update to latest trunk |
| Either | acton up --stable | Switch to / update latest stable |
| Either | acton up --trunk | Switch to / install latest trunk |
| Either | acton up 1.2.0 | Install that exact version regardless of channel |
Trunk builds
Trunk builds are released continuously from the main branch. They are suitable for:- Testing upcoming features before the stable release
- Reporting bugs against the latest development state
- Contributors who need the freshest toolchain
Installation flow
When installing a release,acton up:
- Fetches release metadata from
ton-blockchain/actonon GitHub - Selects the archive matching your current target triple (OS + architecture)
- Downloads the archive and its
.sha256checksum file - Verifies the SHA256 digest — aborts if verification fails
- Unpacks the archive and replaces the current
actonbinary
GITHUB_TOKEN is set in the environment, Acton uses it for authenticated GitHub API requests (higher rate limits).
--list is read-only and performs no download or replacement.
Pinning a version in Acton.toml
Projects can pin the required Acton CLI version inActon.toml. When a version mismatch is detected, Acton prints an error with the install command:
Acton.toml
Examples
Exit status
0— release information was listed, Acton was already up to date, or the selected version was installed successfully1— release lookup failed, checksum verification failed, or binary replacement failed
See Also
- Installation guide
acton doctor(see Command Reference) — inspect the resolved project and toolchain setup