mise bootstrap packages import
- Usage:
mise bootstrap packages import [FLAGS] - Effect: modifies state
- Source code:
src/cli/system/import.rs
Import installed system packages into [bootstrap.packages]
Currently supports Homebrew formulae only. By default, imports linked formulae whose active keg receipt says they were installed on request. Pass --all to import every linked formula, including dependencies.
Flags
-e --env <ENV>— Write to the config file for this environment (mise.<ENV>.toml)-g --global— Write to the global config (~/.config/mise/config.toml)-m --manager <MANAGER>— Only import packages for this manager. Currently onlybrewis supported.Choices:
brewDefault:
brew--all— Import every linked formula, including dependencies-n --dry-run— Print the config change without writing config-p --path <PATH>— Write to this config file or directoryAliases:
--file-h --help— Print help
Examples:
mise bootstrap packages import --manager brew
mise bootstrap packages import --manager brew --all
mise bootstrap packages import --manager brew --global
mise bootstrap packages import --manager brew --dry-run