mise bootstrap packages import
- Usage:
mise bootstrap packages import [FLAGS] - Effect: modifies state
- Source code:
src/cli/system/import.rs
Record installed Homebrew formulae in [bootstrap.packages]
Adds a brew: entry for each linked formula you installed yourself, skipping formulae that were installed only as dependencies; --all includes those too. Formulae from third-party taps are written with their full name, and each tap gets a [bootstrap.brew.taps] entry with the URL already in your config or the default GitHub URL. Writes the local config unless you pass -g, -e, or -p.
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)New entries go to the
write_targets.packagesfile when that setting is set.-m --manager <MANAGER>— Package manager to import fromChoices:
brewDefault:
brew--all— Import every linked formula, including dependencies-n --dry-run— Show the entries that would be written without writing them-p --path <PATH>— Write to this config file or directoryAliases:
--file-h --help— Print help
Examples
Show the entries that would be written
mise bootstrap packages import --dry-runWrite them to the local config
mise bootstrap packages importInclude formulae installed as dependencies
mise bootstrap packages import --allWrite to the global config
mise bootstrap packages import -g