docs/cli/bootstrap/packages/use.md
mise bootstrap packages usemise bootstrap packages use [FLAGS] <PACKAGE>…usrc/cli/bootstrap/packages/use.rsAdd bootstrap packages to [bootstrap.packages] and install them
Like mise use for tools: writes "manager:package" = "version" entries
to mise.toml (the local config by default, the global one with -g) and
then installs whatever is missing.
Versions are pinned with @: mise bootstrap packages use apt:[email protected]. Without
@ (or with @latest) no pin is written. brew formulae and casks
version through their names instead (for example brew:postgresql@17,
brew-cask:temurin@17), where @ is part of the Homebrew name rather than
a mise version selector.
<PACKAGE>…Packages in manager:package[@version] form
-e --env <ENV>Write to the config file for this environment (mise.<ENV>.toml)
-g --globalWrite to the global config (~/.config/mise/config.toml) instead of the local one
-n --dry-runPrint the commands that would run without writing config or installing
-p --path <PATH>Write to this config file or directory
-y --yesSkip the confirmation prompt
Examples:
mise bootstrap packages use apt:curl brew:jq brew-cask:firefox
mise bootstrap packages use -g brew:postgresql@17
mise bootstrap packages use apt:[email protected]