Skip to main content
The Actual CLI, actual, runs the plan and change checks. The plugin’s actual skill offers to install it with npm the first time you run /actual. Install it yourself to choose the method, or to run the checks in CI.

Platforms

Windows isn’t supported. On Linux, every install method below puts a prebuilt binary on your machine that needs glibc 2.39 or newer: Ubuntu 24.04, Debian 13, Fedora 40, RHEL 10, or a later release of any of them. Run ldd --version to see yours. Ubuntu 22.04, Debian 12, RHEL 9 and Amazon Linux 2023 ship an older glibc, where the arm64 binary exits with version `GLIBC_2.39' not found and the x64 binary runs but prints weak version `GLIBC_2.39' not found every time it starts. On those releases, build from source.

Install

Homebrew

Homebrew is the recommended method:
Use the tap’s full name, here and when you upgrade. A bare brew install actual reaches Homebrew’s unrelated actual cask. The macOS binaries aren’t signed with an Apple Developer ID yet. If Gatekeeper blocks actual the first time it runs, remove the quarantine mark:

npm

npm installs the prebuilt binary for your platform.

Download

Download the archive for your platform from the actual-releases mirror: actual-darwin-arm64.tar.gz, actual-darwin-x64.tar.gz, actual-linux-arm64.tar.gz or actual-linux-x64.tar.gz. Extract it and move the binary onto your PATH. On Apple Silicon:
Make sure ~/.local/bin is on your PATH. A directory you own lets actual self-update replace the binary later; it refuses one in a directory you can only write with sudo, such as /usr/local/bin. If you downloaded the archive in a browser on macOS, remove the quarantine mark before the first run:
Check the download’s signature before you run it.

Build from source

Building from source needs a Rust toolchain and a C compiler for the native dependencies:
This is the way to run actual on a Linux with a glibc older than 2.39.

Check a download

Each release from v0.12.0 publishes SHA256SUMS, which lists the four archives, on the actual-cli releases page and the actual-releases mirror. A member of the signing group then adds SHA256SUMS.minisig, a minisign signature over that list, by hand. A new release can stay unsigned until that step finishes, so if the signature is missing, try again later. Releases through v0.11.0 carry neither file. Check the signature first, then the checksum:
A good signature prints Signature and comment signature verified, then the signed trusted comment. Make sure that comment names the tag of the release you downloaded, because an older release’s signature still verifies. If minisign reports a different key id, the spare key signed the release; Release signing on GitHub has it.

Check the install

actual version (CLI 0.9.0 or later) prints the running version, how this copy was installed and the command that upgrades it, with no network request. Add --check to ask the npm registry for the latest version (one HTTPS request, at most 3 seconds), or --json for one object with current_version, latest_version, update_available, channel, upgrade_command and release_url. channel is homebrew, npm or other. A CLI older than 0.9.0 rejects version as an unknown subcommand and exits with status 2; use actual --version there.

Updates by install method

Nothing upgrades the CLI on its own. The copy you run tells you when a newer release is out and names the command for how it was installed, which it reads from its own path: Homebrew and npm keep a record of the files they install, so a copy they own upgrades through them. A copy built from source gets the cargo install command wherever it’s installed, because it may be built for a system the release builds don’t run on.

The update notice

From CLI 0.9.0, after a command succeeds at a terminal, actual may print a notice such as:
No command waits for it. At most once a day, a background copy of actual asks the npm registry for the latest version and saves the answer in ~/.actualai/actual/update-check.yaml, and a later run prints the notice from there. The notice stays quiet when the command fails, when output goes to a pipe, a file or a pager, when CI is set, under --json and the hook modes the plugin uses, and inside agent sessions the CLI starts itself. To turn off the notice and every registry request, including the one actual version --check makes, use either of these:

Self-update

actual self-update (CLI 0.12.0 or later) replaces a binary you downloaded with the latest signed release:
It asks the npm registry for the latest version, downloads that release’s SHA256SUMS and SHA256SUMS.minisig from the actual-releases mirror, and checks the signature against the release keys built into actual, including the tag in the signed comment. It then checks the archive for your platform against SHA256SUMS. Nothing on disk changes until both checks pass, and the new binary is renamed over the old one in one step, so a hook starting actual at that moment runs the old binary or the new one, never a partial file. A release still waiting for its signature is refused until it’s signed. It refuses, exiting with status 2 and naming another way to upgrade, when:
  • Homebrew or npm installed the copy you’re running, or it was built from source;
  • you can’t write the binary or its directory without sudo, another user owns the binary, or you run it as root;
  • CI is set, or update checks are turned off;
  • no release build exists for your platform.
A failed download or check exits with status 1 and leaves the old binary as it was.