mise bootstrap remote status
- Usage:
mise bootstrap remote status [FLAGS] [TARGET]… - Effect: read-only
- Source code:
src/cli/bootstrap.rs
Check inventory hosts without changing them
For each host in [bootstrap.remote.hosts], shows whether it answers over SSH, its mise version next to this one, the record of its last successful bootstrap (source commit, age, and who applied it), and whether it has drifted from the config: a mise bootstrap plan taken on the host, with the number of pending changes per resource kind.
Like mise bootstrap remote, it uploads the source and stages mise in a temporary directory on each host, then removes them. It never asks for a password: SSH runs in batch mode, and resources only root can inspect show unknown (needs sudo) unless sudo -n works on the host. Hosts are checked in parallel, up to --jobs at a time.
Selects hosts by name, --tag, or --all; with none of them, every inventory host. Exits with status 1 when a host is unreachable, cannot be checked, or has pending changes, unless --no-fail is given. A host with only unknown resources does not fail.
The plan covers what mise bootstrap plan covers; dotfiles, tools, and the other parts it does not plan are not checked for drift.
Arguments
[TARGET]…— Inventory host names from[bootstrap.remote.hosts]
Flags
--all— Select every inventory host (the default when no host or tag is given)--tag <TAG>— Select configured hosts with this tag; repeat to match any tag--connect-timeout <SECONDS>— SSH connection timeout in secondsDefault:
10-j --jobs <N>— How many hosts to check at onceDefault:
4--timeout <SECONDS>— Give up on a host after this many seconds, counted from connectingDefault:
600-J --json— Output in JSON format--no-fail— Exit 0 even when a host is unreachable or has drifted-h --help— Print help
Examples
Check every inventory host
mise bootstrap remote statusCheck the hosts tagged mac-ci
mise bootstrap remote status --tag mac-ciPrint one host's status as JSON
mise bootstrap remote status mac2 --json