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 first ran install, or --mise-bin. It must be owned by root and writable only by root, as must every directory above it.

Installing again changes only what it is given and keeps the rest of the pin, including its signers, so sudo mise bootstrap pull install --self-update turns on self-update alone. --no-env, --no-user and --no-self-update clear a value. A different --repo or --ref also discards the checkout and the run state, so the new ref starts from its head. Different --env or --user values apply the current commit again.

Flags ​

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

    Required the first time; installing again keeps the pinned one.

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

    main the first time; installing again keeps the pinned one.

  • --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. Required the first time; installing again keeps the pinned copy.

  • -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. Installing again keeps the pinned ones.

  • --no-env — Clear the pinned environments, so the host's own miserc chooses

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

    30m the first time; installing again keeps the pinned one.

  • --mise-bin <PATH> — The mise executable the service runs

    The first time, the one that runs install; installing again keeps the pinned 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. Installing again keeps the pinned one.

  • --no-user — Clear the pinned account, so root acts for itself

  • --self-update — Keep the mise executable at the newest release

    Runs the bootstrap with --self-update, which installs the newest eligible signed mise release (see self_update.minimum_release_age) over the executable the service runs, then applies the commit with it. Runs with no new commit also check for a new release every --self-update-interval, and apply the current commit again with a mise they installed. A failed update fails the run, which is retried like a failed apply. Installing again keeps it on.

  • --no-self-update — Stop updating the mise executable

  • --self-update-interval <DURATION> — How often --self-update checks for a new release without a new commit

    Such as 12h or 7d; 1d when self-update is turned on, and installing again keeps the pinned one. When a run installs a new release, it applies the current commit again with it. 0 updates mise only with an apply: of a new commit, or with pull run --force.

  • --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

Turn on self-update and keep the rest of the pin

sudo mise bootstrap pull install --self-update
MIT LicenseCopyright © 2026jdx.dev