Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

For Debian derivative distributions that use .dpkg and the APT ecosystem. Add the Acton APT repo and install from there:

sudo install -m 0755 -d /etc/apt/keyrings
sudo wget -q -O /etc/apt/keyrings/acton.asc https://apt.acton-lang.io/acton.gpg
sudo chmod a+r /etc/apt/keyrings/acton.asc
echo "deb [signed-by=/etc/apt/keyrings/acton.asc] http://apt.acton-lang.io/ stable main" | sudo tee -a /etc/apt/sources.list.d/acton.list
sudo apt-get update
sudo apt-get install -qy acton

Container image

Acton also publishes a container image for trying Acton without installing it locally, running builds in CI, or pinning a reproducible toolchain for examples and tutorials. For day-to-day development, the native APT and Homebrew packages are usually more convenient.

Check the installed Acton version in the image:

docker run --rm ghcr.io/actonlang/acton:latest version

Build the Acton project in the current directory:

docker run --rm -v "$PWD":/work -w /work ghcr.io/actonlang/acton:latest build

For CI and long-lived examples, pin a version tag instead of using latest.