mise bootstrap
- Usage:
mise bootstrap [FLAGS] - Source code:
src/cli/bootstrap.rs
[experimental] Set up a machine for the current config in one command
Runs the bootstrap steps for the current config in order:
mise system install— install missing[system.packages], apply[system.files]and[system.edits], and write[system.defaults](macOS)mise install— install missing tools from[tools]mise run bootstrap— if a task namedbootstrapis defined
The 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.
Flags
-n --dry-run
Print what would happen without installing anything
-y --yes
Skip confirmation prompts
--update
Refresh system package manager metadata first (apt: apt-get update)
Examples:
mise bootstrap # system packages + tools + bootstrap task
mise bootstrap --yes # don't prompt before installing system packages
mise bootstrap --dry-run # show what would happen