Skip to content

Install Bakin

Suggest Edits

On macOS, install through the Bakin Homebrew tap:

Terminal window
brew install markhayden/tap/bakin

On Linux, CI images, or machines without Homebrew, use the install script. It picks the right binary for your machine, verifies the SHA-256, and drops it on your PATH as bakin.

Terminal window
curl -fsSL https://raw.githubusercontent.com/markhayden/bakin/main/install.sh | bash

That’s the whole install.

  • macOS · Apple Silicon
  • Linux · x64
  • Linux · arm64

Intel Macs and Windows aren’t in the release matrix yet. Build from source if you need them.

Terminal window
bakin version
bakin --help

The Homebrew formula installs to Homebrew’s prefix. The install script lands in /usr/local/bin, or ~/.local/bin if that’s not writable. If it landed in ~/.local/bin, make sure that directory is on your PATH. Otherwise the shell won’t find bakin and the install will look broken when it isn’t.

If bakin: command not found, add this to your shell profile (~/.zshrc, ~/.bashrc, or equivalent):

Terminal window
export PATH="$HOME/.local/bin:$PATH"

Each release publishes the platform binaries plus a checksums.txt with SHA-256 sums.

PlatformAsset
macOS (Apple Silicon)bakin-darwin-arm64
Linux x64bakin-linux-x64
Linux arm64bakin-linux-arm64

Override the default with BAKIN_INSTALL_DIR:

Terminal window
curl -fsSL https://raw.githubusercontent.com/markhayden/bakin/main/install.sh | BAKIN_INSTALL_DIR="$HOME/bin" bash

BAKIN_VERSION grabs a specific release tag instead of the latest:

Terminal window
curl -fsSL https://raw.githubusercontent.com/markhayden/bakin/main/install.sh | BAKIN_VERSION=v1.0.0 bash

Pull the asset for your platform from the GitHub releases page, check it against checksums.txt, drop it on your PATH as bakin. Same outcome as the installer, just more steps.

For Intel Mac, Windows, or anything not in the release matrix, build from the repo. Source setup lives in Bakin’ Core.