feat: introduce mitamae for cross-platform package installation#4
Open
davidstosik wants to merge 1 commit intov5-reduxfrom
Open
feat: introduce mitamae for cross-platform package installation#4davidstosik wants to merge 1 commit intov5-reduxfrom
davidstosik wants to merge 1 commit intov5-reduxfrom
Conversation
mitamae is a single static binary (mruby compiled in) that provides a Chef-like DSL for package management. Its `package` resource auto-detects the system package manager (Homebrew on macOS, apt on Linux), so one recipe works everywhere. bootstrap.sh downloads the right mitamae binary for the current platform (macOS/Linux, x86_64/aarch64) and runs the recipe. Packages installed: neovim, gh, tmux, ripgrep, fzf, mise. Ghostty (brew cask) is macOS-only. mitamae handles package installation; install.sh stays for symlinking. Clean separation of concerns.
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.
Why mitamae?
These dotfiles need to work on both macOS (laptops) and Linux (homelab VMs). A Brewfile would only cover macOS — not an option.
After evaluating chezmoi, yadm, and others, mitamae is the right fit:
package,execute,git,templateresourcesWhat this adds
bootstrap.shDownloads the correct mitamae binary for the current OS/arch and runs the recipe. One command to install all packages:
recipe.rbInstalls: neovim, gh, tmux, ripgrep, fzf, mise, and Ghostty (macOS only).
All packages use
not_if "which <tool>"guards — idempotent and safe to re-run.Separation of concerns
./mitamae/bootstrap.sh./install.shThis keeps package management cleanly separated from dotfile linking (PR #2).