Skip to content

Install brush

brush is packaged for several platforms. Pick whichever fits your system.

Installs the latest release binary for Linux or macOS into ~/.local/bin (or $XDG_BIN_HOME), and verifies its SHA-256 checksum. If the GitHub CLI is installed and signed in, it also verifies the build’s provenance attestation:

curl --proto '=https' --tlsv1.2 -fsSL https://brush.sh/install.sh | sh

To pick a version or install directory, pass options after sh -s --:

curl --proto '=https' --tlsv1.2 -fsSL https://brush.sh/install.sh | sh -s -- --version 0.4.0 --dir ~/bin

Add --require-attestation to fail, rather than continue, when the attestation can’t be checked.

brush --version

If you get brush: command not found, the install directory isn’t on your PATH~/.local/bin for the install script, ~/.cargo/bin for cargo.

Head to First steps to run brush for the first time.

Last updated:

Open source under the MIT license. Built in the open by the brush community.