Homebrew (macOS & Linux)¶
The tap is updated by every release, pinned to the same binaries and SHA-256 values as the GitHub release. CI installs the formula with real Homebrew on macOS and Linux for every change that could affect it, and again from the tap right after each release. Upgrade with brew upgrade astrona, or astrona upgrade — on a Homebrew install it runs brew upgrade astrona for you instead of downloading the binary itself.
What the Homebrew install gives you on top of the binary:
- Lab tools are installed automatically:
kind,kubectl(kubernetes-cli),gitfor catalog/repository labs,orasfor OCI VM images,qemufor VM labs, andcdrtools(mkisofs) for cloud-init seed images. Homebrew resolves and installs their dependencies too. Docker or Podman you install and start yourself — e.g.brew install podman && podman machine init && podman machine start, or Docker Desktop. - Shell completion for bash, zsh and fish is set up — no
astrona completionstep (see Shell completion). - Man pages:
man astrona,man astrona-run, … one per command. - No Gatekeeper prompt on macOS: a binary downloaded in a browser gets the quarantine flag and macOS may refuse to run it; one installed by Homebrew doesn't.
Two things to know:
- An older
astronaearlier on yourPATH(e.g.~/.local/bin/astronafrom the quick install) hides the Homebrew one —which -a astronashows the order; remove the old one. brew uninstall astronaremoves the program, not~/.astrona(lab state, results, approvals, installed versions). Destroy running labs first (astrona destroy <lab>); delete~/.astronayourself if you want it gone.