mise bootstrap packages apply
- Usage:
mise bootstrap packages apply [FLAGS] [PACKAGE]… - Aliases:
i,install - Effect: modifies state
- Source code:
src/cli/system/install.rs
Apply system packages from [bootstrap.packages]
Checks which configured packages are missing and installs them with the system package manager. Built-in system managers may elevate with sudo when not running as root (see system_packages.sudo); package plugins never do.
Packages can also be given explicitly in manager:package form (e.g. apk:zlib-dev, apt:curl, brew:jq); they are installed whether or not they appear in the config. Explicit packages and --manager scope the run to packages only. install is accepted as an alias for this command.
Arguments
[PACKAGE]…— Packages inmanager:packageform; defaults to everything configured in [bootstrap.packages]
Flags
-m --manager <MANAGER>— Only install packages for this built-in or plugin manager-n --dry-run— Print the commands that would run without running them-y --yes— Skip the confirmation prompt--update— Refresh package manager metadata first (apk:--update-cache, apt:apt-get update)-h --help— Print help
Examples:
mise bootstrap packages apply
mise bootstrap packages apply apk:zlib-dev apt:curl brew:jq brew-cask:firefox flatpak:org.mozilla.firefox flatpak-user:org.gnome.Builder mas:497799835
mise bootstrap packages apply --dry-run
mise bootstrap packages apply --manager apt --yes