Skip to content

mise bootstrap pull install ​

  • Usage: mise bootstrap pull install <FLAGS>
  • Effect: destructive — may delete or irreversibly overwrite
  • Source code: src/cli/bootstrap.rs

Pin a repository and its signers, and install the service that applies it

Run as root. Copies --allowed-signers into the pull directory and writes pull.toml there with the URL, ref, environments and interval; nothing in the repository can change them later. Then writes /Library/LaunchDaemons/dev.mise.bootstrap-pull.plist and loads it, or writes mise-bootstrap-pull.service and .timer to /etc/systemd/system and enables the timer. The first run starts right away.

The service runs the mise executable that runs install, or --mise-bin. It must be owned by root and writable only by root, as must every directory above it.

Installing again replaces the pin. A different --repo or --ref also discards the checkout and the run state, so the new ref starts from its head. Different --env values apply the current commit again.

Flags ​

  • --repo <GIT_URL> — The repository to apply: an HTTPS or SSH URL, or a local path

  • --ref <REF> — The branch to follow, or a full ref such as refs/tags/live

    Default: main

  • --allowed-signers <FILE> — File of SSH keys allowed to sign applied commits

    The format of Git's gpg.ssh.allowedSignersFile and of ssh-keygen -Y verify: one principal [options] key-type key per line.

  • -E --env <ENV> — Config environments for the bootstrap, as MISE_ENV

    Repeat the flag or separate names with commas. Without it, the host's own miserc chooses.

  • --interval <DURATION> — How often to fetch, such as 30m or 1h (at least one minute)

    Default: 30m

  • --mise-bin <PATH> — The mise executable the service runs (default: this one)

  • --user <NAME> — The account the bootstrap acts for, such as the one that owns Homebrew

    The bootstrap still runs as root, but sees this account as SUDO_USER and MISE_BOOTSTRAP_USER, as if the account had run sudo mise bootstrap, and sudo in a hook or task keeps it. Homebrew packages, per-user macOS preferences, LaunchAgents, dotfiles, shell activation, repositories and tools are applied as the account. Without it, root acts for itself.

  • --self-update — Update the mise executable to the newest release before each apply

    Runs the bootstrap with --self-update, which installs the newest signed mise release over the executable the service runs, then applies the commit with it. A failed update fails the apply, which is retried like any other failure.

  • --dir <DIR> — Directory for the pin, state, log and checkout

    Defaults to /var/db/mise/bootstrap-pull on macOS and /var/lib/mise/bootstrap-pull on Linux, or MISE_BOOTSTRAP_PULL_DIR.

  • --no-service — Write the pin, but no service; run mise bootstrap pull run yourself

  • -n --dry-run — Show what would be written without writing it

  • -h --help — Print help

Examples ​

Apply the main branch of a fleet repository every 30 minutes

sudo mise bootstrap pull install --repo https://github.com/example/fleet.git --allowed-signers ./allowed_signers --env mac-ci

Follow a tag instead of a branch

sudo mise bootstrap pull install --repo git@github.com:example/fleet.git --ref refs/tags/live --allowed-signers ./allowed_signers --interval 10m
MIT LicenseCopyright © 2026jdx.dev