mise bootstrap remote
- Usage:
mise bootstrap remote [FLAGS] [TARGET]… - Effect: destructive — may delete or irreversibly overwrite
- Source code:
src/cli/bootstrap.rs
Bootstrap one or more machines over OpenSSH
Select inventory hosts by name, tag, or --all, or supply ad-hoc --host targets. The source is staged on each target and bootstrap runs there. --adopt instead installs persistent global configuration; preview that choice with --dry-run.
Arguments
[TARGET]…— Inventory host names from[bootstrap.remote.hosts]
Flags
--adopt <GIT_URL|OWNER/REPO>— Adopt global configuration or shared dotfile history on each target--github-relay-read-only— Borrow read-only GitHub access for this invocation--github-relay-repo <OWNER/REPO>— Approved GitHub repository; repeat for multiple repositories--github-relay-all-repos— Explicitly authorize all repositories accessible locally--github-relay-log-requests— Log sanitized relay requests on local stderr--github-relay-no-log-requests— Disable request logging, overriding the saved preference--github-relay-log-format <FORMAT>— Relay log and summary format: text or jsonl--github-relay-max-duration <DURATION>— Expire borrowed access after a duration such as 1h (0s: session lifetime)--all— Select every configured inventory host--bootstrap-command <COMMAND>— Explicit remote shell command that installs mise and places it on PATH--connect-timeout <CONNECT_TIMEOUT>— SSH connection timeout in secondsDefault:
10--copy-link <PATH>— Dereference one source-relative symbolic link; repeat for multiple links--copy-links— Dereference every symbolic link in the source archive--exclude <PATTERN>— Additional archive pattern to exclude; repeat for multiple patterns--fail-fast— Stop after the first failed target--force-dotfiles— Allow remote dotfile conflicts to be replaced--host <[USER@]HOST>— Ad-hoc SSH destination ([user@]host); repeat for multiple hosts-i --identity-file <IDENTITY_FILE>— SSH identity file override-n --dry-run— Print the remote bootstrap changes without applying them--install-mise[=PATH]— Install the provisioned mise on each host instead of only staging itDefaults to
~/.local/bin/mise; pass--install-mise=<PATH>for another path.--keep-staging— Keep the remote staging directory for debugging--mise-bin <MISE_BIN>— Local mise binary to upload (escape hatch for custom architectures)--no-install-mise— Do not install mise on the host, even when the selected hosts configure it--only <ONLY>— Run only one or more remote bootstrap partsChoices:
plugins,packages,accounts,files,services,firewall,compose,repos,dotfiles,mise-shell-activate,macos-defaults,macos-launchd-agents,linux-systemd-units,user,tools,task,final-hook,shell,defaults,launchd,systemd--port <PORT>— SSH port override--prompt-secrets— Prompt securely for missing secret inputs on the remote host--remote-env <ENV>— Config environments to load on the remote host; repeat or delimit with commas (for example, ci,dotfiles)--remote-mise <COMMAND>— Existing mise executable name or path; relative paths use the staged project--skip <SKIP>— Skip one or more remote bootstrap partsChoices:
plugins,packages,accounts,files,services,firewall,compose,repos,dotfiles,mise-shell-activate,macos-defaults,macos-launchd-agents,linux-systemd-units,user,tools,task,final-hook,shell,defaults,launchd,systemd--source <SOURCE>— Local directory archived and sent to each target--ssh-option <OPTION>— OpenSSH-ooption; repeat for multiple options--tag <TAG>— Select configured hosts with this tag; repeat to match any tag--update— Refresh package manager metadata and update configured repos remotely-y --yes— Skip remote confirmation prompts-h --help— Print help