mise bootstrap plan
- Usage:
mise bootstrap plan [FLAGS] - Effect: read-only
- Source code:
src/cli/bootstrap.rs
Show what applying bootstrap resources would change
Covers accounts, packages, files and directories, system and user services, the firewall, Compose projects, Git repositories, and macOS Spotlight indexing, in dependency order. Hooks are listed with the action run, since a command cannot be diffed; they do not count as changes for --detailed-exitcode. Dotfiles, shell activation, macOS defaults, LaunchAgents and LaunchDaemons, systemd user units, the login shell, tools, and the bootstrap task are not planned; preview the whole run with mise bootstrap --dry-run.
Flags
-J --json— Output a stable machine-readable plan in JSON format--detailed-exitcode— Exit 0 if nothing would change, 2 if something would, 1 on errors or unknown stateA resource's state is unknown when mise cannot reach its declared state on its own, for example a package whose manager is not available on this machine or cannot install the pinned version, or a service whose unit does not exist.
--prompt-secrets— Prompt securely for missing bootstrap secret inputs--unprivileged— Never ask for a sudo password; report state only root can read as unknownFiles, directories, and the firewall that only root can inspect show
unknown (needs sudo)instead, unless mise runs as root orsudo -nalready works (a NOPASSWD rule or cached credentials).mise bootstrap remote statusplans hosts this way.-h --help— Print help
Examples
Show the planned changes
mise bootstrap planPrint the plan as JSON
mise bootstrap plan --jsonExit with status 2 if anything would change
mise bootstrap plan --detailed-exitcode