my personal macOS dotfiles, managed with mise dot ([dotfile_groups] in copy mode) and mise bootstrap.
.config/mise/config.toml: shared settings and bootstrap tasks.config/mise/conf.d/: split declarative config (tools.toml,packages.toml,dotfiles.toml,macos.toml).config/mise/config.{personal,corp}.toml: per-environmentdotfile_groups, env vars, and optional env-only packages/tools.config/mise/config.local.toml: optional gitignored per-machine overrides ([tools],[bootstrap.packages],[env])groups/{common,corp,personal}/: dotfiles usingdot-prefixes, copied into~(no symlinks)edits/codex-theme.toml: partial TOML merge applied to~/.codex/config.tomlscripts/: idempotent native installer (codex,claude,agy,omp,gcloud), font, and Dock setup scripts
curl -fsSL https://raw.githubusercontent.com/rubyroobs/dotfiles/main/bootstrap.sh | bash -s -- personal
# or `corp` on a work laptop
gpg --edit-card # enter: fetchbootstrap.sh installs mise if missing, clones this repo into ~/.dotfiles, writes the gitignored ~/.dotfiles/.config/mise/miserc.local.toml (env = ["personal"] or env = ["corp"]), links ~/.config/mise to ~/.dotfiles/.config/mise, and runs mise bootstrap.
mise installs declared brew: formulae directly into /opt/homebrew on Apple Silicon without requiring Homebrew to be pre-installed.
# Preview all changes without modifying the machine
mise bootstrap --dry-run
# Sync repo changes and apply dotfiles, tools, packages, and defaults
mise bootstrap --update
# Preview, apply, or prune removed dotfiles
mise dot diff
mise dot apply --prune
# Pull edits made to a live file back into ~/.dotfiles
mise dot add ~/.zshrc
# Self-update mise, upgrade packages/tools/repos, and update native CLIs and plugins
mise run upgrade
# Validate repo syntax and both machine environments
./check.shPick the backend first (mise registry <name> shows what mise uses):
- Runtimes and precompiled CLIs (
core:,aqua:,github:): prefer[tools](avoidvfox:andasdf:plugins). - System CLI tools, libraries, fonts, or macOS casks: use
"brew:<name>" = "latest"or"brew-cask:<name>" = "latest"under[bootstrap.packages](miseinstalls both directly into/opt/homebrewwithout Homebrew). Third-party GitHub taps use"brew:<owner>/<tap>/<formula>"; add[bootstrap.brew.taps]only if the repo does not matchgithub.com/<owner>/homebrew-<tap>. - Rapidly self-updating CLIs (agent harnesses,
gcloud): add an idempotent install block inscripts/install-native-tools.shand its updater command inscripts/update-native-tools.sh.
Then place the declaration by scope:
- All machines (common):
.config/mise/conf.d/tools.tomlor.config/mise/conf.d/packages.toml. - One environment (
personalorcorp):[tools]or[bootstrap.packages]in.config/mise/config.personal.tomlor.config/mise/config.corp.toml. - One machine only (untracked):
[tools]or[bootstrap.packages]in gitignored.config/mise/config.local.toml.
Apply and validate:
# Install newly added packages and tools
mise bootstrap --only packages,tools
# Or run a one-off brew/cask install without editing config
mise bootstrap packages apply brew:<formula>
# Validate before committing
./check.sh