Skip to content

getbrik/homebrew-tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homebrew tap for Brik

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.

CI Brik release Platforms License

Brik - Documentation - Issues


What this tap is

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.yml against 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.

Install

brew install getbrik/tap/brik

Or tap first, then install (handy if you plan to add more getbrik formulae later):

brew tap getbrik/tap
brew install brik

Latest development version

To track the unreleased main branch instead of the latest tagged release, install from --HEAD:

brew install --HEAD getbrik/tap/brik

Tip

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).

Running an unmerged feature branch

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 version

The 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.

What's in the tap

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.

Verify the install

brik version     # prints the installed Brik version
brik doctor      # checks bash 5+, yq, jq, jv, and the stack toolchains

Next steps

Everything 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

Upgrade

brew update && brew upgrade brik

Every new Brik release ships with a matching formula bump in this tap. Run brew update regularly to stay current.

Uninstall

brew uninstall brik
brew untap getbrik/tap   # optional: remove the tap

Related projects

  • 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.

License

MPL-2.0, inherited from the Brik project.

About

Official Homebrew tap to install the Brik CLI on macOS and Linux.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages