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 Homebrew (macOS)
To install via Homebrew, run the following command:aspect-launcher binary as aspect on your PATH.
Updating with Homebrew
To update theaspect-launcher by with Homebrew, run the following comamnds:
Install with curl (macOS and Linux)
To install via the curl script, run the following command:aspect-launcher binary as aspect on your PATH.
Updating with curl
To update the `aspect-launcher with curl, re-run the installation script: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
If you use GitHub Actions, you can install the Aspect CLI using thejaxxstorm/action-install-gh-release action.
Add the Aspect CLI as aspect on the PATH in a workflow step. Here’s an example:
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:

