Skip to content

mise bootstrap packages apply ​

  • Usage: mise bootstrap packages apply [FLAGS] [PACKAGE]…
  • Aliases: i, install
  • Effect: destructive — may delete or irreversibly overwrite
  • Source code: src/cli/system/install.rs

Install or remove packages to match [bootstrap.packages]

Installs each configured package that is missing or does not match its declared version, and removes packages declared state = "absent" on the managers that support removal (pacman, scoop, and zypper). On other managers, an installed package declared absent is left in place with a warning; apply fails for it only when you pass --manager or name the package. Built-in managers may use sudo when not running as root (see the system_packages.sudo setting); package plugins never do. Managers that are not available on this machine are skipped.

Name packages as manager:package, for example apt:curl or brew:jq, to install them without adding them to config; use mise bootstrap packages use to record them as well. When you name packages or pass --manager, an unavailable manager is an error instead of a skip.

Arguments ​

  • [PACKAGE]… — Packages as manager:package; defaults to every package in [bootstrap.packages]

Flags ​

  • -m --manager <MANAGER> — Only apply packages for this built-in or plugin manager

  • -n --dry-run — Show what would change without changing anything

  • -y --yes — Skip the confirmation prompt

  • --update — Refresh package manager metadata first, where the manager supports it

    For example, apt runs apt-get update and dnf adds --refresh. brew, brew-cask, flatpak, flatpak-user, macos-app, and mas ignore this flag.

  • -h --help — Print help

Examples ​

Install missing packages and remove ones declared absent

mise bootstrap packages apply

Show what would change

mise bootstrap packages apply --dry-run

Apply only apt packages, without a prompt

mise bootstrap packages apply --manager apt --yes

On Debian or Ubuntu, install one package without adding it to config

mise bootstrap packages apply apt:curl

On macOS, install a formula and a cask without adding them to config

mise bootstrap packages apply brew:jq brew-cask:firefox
MIT LicenseCopyright © 2026jdx.dev