docs/cli/bootstrap.md
mise bootstrapmise bootstrap [FLAGS] <SUBCOMMAND>src/cli/bootstrap/mod.rs[experimental] Set up a machine for the current config in one command
Runs the bootstrap steps for the current config in order:
[bootstrap.hooks.pre-packages] — optional setup hookmise bootstrap packages install — install missing
[bootstrap.packages]
then [bootstrap.hooks.post-packages]mise dotfiles apply — apply dotfiles from [dotfiles]
surrounded by pre-dotfiles/post-dotfiles hooksmise bootstrap macos-defaults apply — write
[bootstrap.macos.defaults] entries (macOS)
surrounded by pre-defaults/post-defaults hooksmise bootstrap launchd apply — install/load macOS LaunchAgentsmise bootstrap systemd apply — install/start systemd user services
(Linux)mise bootstrap user apply — set [bootstrap.user].login_shell
(Unix)
surrounded by pre-user/post-user hooksmise install — install missing tools from [tools]
surrounded by pre-tools/post-tools hooksmise run bootstrap — if a task named bootstrap is defined[bootstrap.hooks.final] — optional final hookThe declarative steps converge — anything already in its desired state
is skipped, so re-running is safe. The bootstrap task runs on every
invocation; keep it idempotent. Use it for any project-specific setup
that doesn't fit the declarative sections (cloning repos, seeding
databases, etc.) — it runs with the installed tools on PATH.
-n --dry-runPrint what would happen without installing anything
-y --yesSkip confirmation prompts
--force-dotfilesOverwrite existing files that conflict with whole-file dotfile entries
--updateRefresh system package manager metadata first (apt: apt-get update)
mise bootstrap launchd <SUBCOMMAND>mise bootstrap macos-defaults <SUBCOMMAND>mise bootstrap packages <SUBCOMMAND>mise bootstrap systemd <SUBCOMMAND>mise bootstrap user <SUBCOMMAND>Examples:
mise bootstrap # packages + dotfiles + tools + bootstrap task
mise bootstrap --force-dotfiles # replace conflicting dotfile targets
mise bootstrap packages install --yes
mise bootstrap macos-defaults status
mise bootstrap launchd apply --dry-run
mise bootstrap systemd apply --dry-run
mise bootstrap user apply --dry-run