Install Brik with one brew command.
The official Homebrew tap. macOS and Linux, auto-bumped to every Brik release.
Run your pipeline before you push.
Brik - Documentation - Issues
This is the official Homebrew tap for Brik, the
portable CI/CD pipeline system. It exists for one job: get the brik CLI onto your
machine, on macOS or Linux, with a single command and the right prerequisites
(bash 5+, yq, jq) already in place.
The point of installing it locally is reproducibility. Brik is the same Bash code
path everywhere, so a brik run on your laptop executes what your pipeline executes
on GitLab, Jenkins, or GitHub Actions. You catch a broken build at your desk, not in
CI. Once installed you can:
- scaffold a new project:
brik init - validate a
brik.ymlagainst the schema:brik validate - check the host has the prerequisites:
brik doctor - run a single stage or the full CI flow locally:
brik stage <name>/brik integrate - inspect what the platform-aware planner would run for the current commit:
brik plan --explain
Note
This repository ships the formula only. For what Brik is, the fixed flows, the supported stacks, and the platform adapters, see the main Brik repository.
brew install getbrik/tap/brikOr tap first, then install (handy if you plan to add more getbrik formulae later):
brew tap getbrik/tap
brew install brikTo track the unreleased main branch instead of the latest tagged release, install
from --HEAD:
brew install --HEAD getbrik/tap/brikTip
A --HEAD install pins to the commit it was built from. To pull newer commits
later, refresh it with brew upgrade --fetch-HEAD brik (plain brew upgrade
leaves HEAD installs untouched). Switch back to stable any time with
brew install brik (or brew reinstall brik).
To exercise a branch that is not yet on main, clone the Brik repo, check the
branch out, and alias brik to the checkout. bin/brik resolves BRIK_HOME
from its own location, so no build or install step is needed:
git clone https://github.com/getbrik/brik.git
cd brik
git checkout <branch-name>
alias brik="$(pwd)/bin/brik" # add to your shell profile to persist
brik versionThe alias always reflects whatever branch is currently checked out, so editing
the branch takes effect immediately with no reinstall. Drop the alias (or open a
new shell) to fall back to your Homebrew-installed brik.
Note
If a Homebrew brik is on your PATH ahead of the alias, the alias still wins
in interactive shells. Run which brik to confirm which one resolves.
| Formula | Tracks | Pulls in | License |
|---|---|---|---|
brik |
the latest Brik release | bash, yq, jq |
MPL-2.0 |
The formula installs the Brik runtime under the Homebrew prefix and puts a thin
brik shim on your PATH, so BRIK_HOME is wired up for you and the CLI resolves
its libraries without any extra setup.
brik version # prints the installed Brik version
brik doctor # checks bash 5+, yq, jq, jv, and the stack toolchainsEverything after install lives in the Brik repository:
| You use | Start here |
|---|---|
| Local CLI | Getting started - Local |
| GitLab CI | Getting started - GitLab |
| Jenkins | Getting started - Jenkins |
- Configuration reference - the full
brik.ymlschema, one page per section - Examples - working
brik.ymlfiles for Node, Java, Python, and .NET - The Brik README - what Brik is, the two fixed flows, and why it exists
- Documentation index
brew update && brew upgrade brikEvery new Brik release ships with a
matching formula bump in this tap. Run brew update regularly to stay current.
brew uninstall brik
brew untap getbrik/tap # optional: remove the tap- brik - the portable CI/CD pipeline system this tap installs.
- brik-images - official Docker images for Brik runners. Multi-arch, signed, scanned, rebuilt weekly.
- briklab - local Docker infrastructure for testing Brik pipelines against real GitLab and Jenkins.
MPL-2.0, inherited from the Brik project.
