aspect-launcher, a small binary added to your PATH as aspect. This launcher downloads and runs the version of the Aspect CLI binary configured in your repository. It operates similarly to how bazelisk fetches the configured version of Bazel, or how nvm or n- manages Node.js versions.
The latest releases can be found at https://github.com/aspect-build/aspect-cli/releases.
Install with curl
The curl script works on macOS and Linux without any prerequisite package manager. Run:aspect-launcher binary as aspect on your PATH.
Updating with curl
To update theaspect-launcher with curl, re-run the installation script:
Install with Homebrew (macOS)
To install via Homebrew, run the following command:aspect-launcher binary as aspect on your PATH.
Updating with Homebrew (macOS)
To update theaspect-launcher with Homebrew, run the following commands:
Install the Aspect CLI with direnv and multitool
This method assumes your development environment uses bazel_env.bzl. For examples, refer to the Starter repositories at bazel-starters on GitHub.
- Add
aspectto the multitool lockfile, as shown in this example. - Build and run your
bazel_envtarget. Bazel will handle the installation ofaspect, making it available on your PATH.
bazel_env”:
Install with GitHub Actions
Use theaspect-build/setup-aspect action. It installs the launcher, installs Bazelisk (unless bazel is already on PATH), wires --disk_cache / --repository_cache to the GHA cache, and exchanges your ASPECT_API_TOKEN for a short-lived JWT — all in one step. The same one-liner works on provider-hosted runners (ubuntu-latest, macos-latest) and on Aspect Workflows CI runners.
.aspect/version.axl (see version pinning) — the launcher reads that file and downloads the matching CLI on first aspect invocation, so local and CI stay in sync without bumping a launcher version in your workflow YAML.
Without setup-aspect
If for some reason you’d rather install the launcher inline (or you’re on a CI provider without an equivalent action — Buildkite, GitLab, CircleCI), the curl one-liner works:
setup-aspect does for you.
Install the Aspect CLI manually from GitHub
Visit the Aspect CLI Releases page on GitHub to download the appropriate binary for your platform, such asaspect-launcher-aarch64-apple-darwin for macOS arm64, or equivalents for other architectures and operating systems.
macOS example
-
Download the
aspect-launcher-aarch64-apple-darwinbinary from the Aspect CLI Releases page. -
In your terminal, run these commands to clear the untrusted developer attribute, make the binary executable, and move it to your PATH:

