feat: migrate from brew to zerobrew mise backend#21
Merged
Conversation
gabemeola
commented
Jul 2, 2026
Member
- Install zerobrew v0.3.2 as a faster Homebrew alternative
- Replace woutermont/mise-brew plugin with kennyg/mise-zerobrew
- Switch all pre-approved tools from brew: to zerobrew: prefix
- Add zerobrew binaries and data to final image
- Update PATH with zerobrew prefix bin directory
- Update README references
- Install zerobrew v0.3.2 as a faster Homebrew alternative - Replace woutermont/mise-brew plugin with kennyg/mise-zerobrew - Switch all pre-approved tools from brew: to zerobrew: prefix - Add zerobrew binaries and data to final image - Update PATH with zerobrew prefix bin directory - Update README references
Contributor
Docker image size comparison
|
The mise zerobrew plugin calls zb --root <path> install <formula> on an uninitialized root, causing 'store corruption: Initialization required'. Add zb init before install to ensure the root is ready.
zerobrew's sapling bottle has a broken Python stdlib path. Install the official Facebook prebuilt release at /opt/sapling instead.
- Move 5 tools (gh, ripgrep, fd, micro, node) from zerobrew: to github: - Fix shim generator grep to only match zerobrew: entries, avoiding broken shim paths for github:owner/repo keys - Update README backend column
Handle github:owner/repo keys with explicit binary name overrides for entries where the binary differs from the repo name (gh, rg, sl).
Instead of hardcoding binary name overrides in the Dockerfile, tool entries in mise-config.toml can specify the shim name with a trailing # shim:<name> comment. Falls back to repo name for github: entries or stripped prefix for simple backends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.