CLI parametersΒΆ
Help screenΒΆ
OptionsΒΆ
mpmΒΆ
CLI options shared by all subcommands.
Usage
mpm [OPTIONS] COMMAND [ARGS]...
Options
- --apmΒΆ
(Deprecated) Select Atomβs apm.
- --aptΒΆ
Select APT.
- --apt-mintΒΆ
Select Linux Mintβs apt.
- --brewΒΆ
Select Homebrew Formulae.
- --cargoΒΆ
Select Rustβs cargo.
- --caskΒΆ
Select Homebrew Cask.
- --chocoΒΆ
Select Chocolatey.
- --composerΒΆ
Select PHPβs Composer.
- --cpanΒΆ
Select Perlβs CPAN.
- --deb-getΒΆ
Select Deb Get.
- --dnfΒΆ
Select DNF.
- --dnf5ΒΆ
Select DNF5.
- --emergeΒΆ
Select Emerge.
- --eopkgΒΆ
Select Solus package manager.
- --flatpakΒΆ
Select Flatpak.
- --fwupdΒΆ
Select Linux Vendor Firmware Service.
- --gemΒΆ
Select Ruby Gems.
- --masΒΆ
Select Mac AppStore.
- --npmΒΆ
Select Nodeβs npm.
- --opkgΒΆ
Select OPKG.
- --pacaurΒΆ
Select Pacaur.
- --pacmanΒΆ
Select Pacman.
- --pacstallΒΆ
Select Pacstall.
- --paruΒΆ
Select Paru.
- --pipΒΆ
Select Pip.
- --pipxΒΆ
Select Pipx.
- --pkgΒΆ
Select FreeBSD System Manager.
- --scoopΒΆ
Select Scoop.
- --sdkmanΒΆ
Select SDKMAN.
- --snapΒΆ
Select Snap.
- --steamcmdΒΆ
Select Valve Steam.
- --stewΒΆ
Select Stew.
- --uvΒΆ
Select UV.
- --uvxΒΆ
Select UVX.
- --vscodeΒΆ
Select Visual Studio Code.
- --vscodiumΒΆ
Select VSCodium.
- --wingetΒΆ
Select WinGet.
- --yarn-berryΒΆ
Select Yarn Berry.
- --yarnΒΆ
Select Yarn Classic.
- --yayΒΆ
Select Yay.
- --yumΒΆ
Select YUM.
- --zerobrewΒΆ
Select ZeroBrew.
- --zypperΒΆ
Select Zypper.
- --no-apmΒΆ
(Deprecated) Deselect Atomβs apm.
- --no-aptΒΆ
Deselect APT.
- --no-apt-mintΒΆ
Deselect Linux Mintβs apt.
- --no-brewΒΆ
Deselect Homebrew Formulae.
- --no-cargoΒΆ
Deselect Rustβs cargo.
- --no-caskΒΆ
Deselect Homebrew Cask.
- --no-chocoΒΆ
Deselect Chocolatey.
- --no-composerΒΆ
Deselect PHPβs Composer.
- --no-cpanΒΆ
Deselect Perlβs CPAN.
- --no-deb-getΒΆ
Deselect Deb Get.
- --no-dnfΒΆ
Deselect DNF.
- --no-dnf5ΒΆ
Deselect DNF5.
- --no-emergeΒΆ
Deselect Emerge.
- --no-eopkgΒΆ
Deselect Solus package manager.
- --no-flatpakΒΆ
Deselect Flatpak.
- --no-fwupdΒΆ
Deselect Linux Vendor Firmware Service.
- --no-gemΒΆ
Deselect Ruby Gems.
- --no-masΒΆ
Deselect Mac AppStore.
- --no-npmΒΆ
Deselect Nodeβs npm.
- --no-opkgΒΆ
Deselect OPKG.
- --no-pacaurΒΆ
Deselect Pacaur.
- --no-pacmanΒΆ
Deselect Pacman.
- --no-pacstallΒΆ
Deselect Pacstall.
- --no-paruΒΆ
Deselect Paru.
- --no-pipΒΆ
Deselect Pip.
- --no-pipxΒΆ
Deselect Pipx.
- --no-pkgΒΆ
Deselect FreeBSD System Manager.
- --no-scoopΒΆ
Deselect Scoop.
- --no-sdkmanΒΆ
Deselect SDKMAN.
- --no-snapΒΆ
Deselect Snap.
- --no-steamcmdΒΆ
Deselect Valve Steam.
- --no-stewΒΆ
Deselect Stew.
- --no-uvΒΆ
Deselect UV.
- --no-uvxΒΆ
Deselect UVX.
- --no-vscodeΒΆ
Deselect Visual Studio Code.
- --no-vscodiumΒΆ
Deselect VSCodium.
- --no-wingetΒΆ
Deselect WinGet.
- --no-yarn-berryΒΆ
Deselect Yarn Berry.
- --no-yarnΒΆ
Deselect Yarn Classic.
- --no-yayΒΆ
Deselect Yay.
- --no-yumΒΆ
Deselect YUM.
- --no-zerobrewΒΆ
Deselect ZeroBrew.
- --no-zypperΒΆ
Deselect Zypper.
- -a, --all-managersΒΆ
Force evaluation of all managers implemented by mpm, including those not supported by the current platform or deprecated. Still applies filtering by β<manager-id> / βno-<manager-id> options before calling the subcommand.
- -x, --xkcdΒΆ
Preset manager selection as defined by XKCD #1654. Equivalent to: βpip βbrew βnpm βdnf βapt βsteamcmd.
- --ignore-auto-updates, --include-auto-updatesΒΆ
Report all outdated packages, including those tagged as auto-updating. Only applies to outdated and upgrade subcommands.
- --stop-on-error, --continue-on-errorΒΆ
Stop right away or continue operations on manager CLI error.
- -d, --dry-runΒΆ
Do not actually perform any action, just simulate CLI calls.
- -t, --timeout <timeout>ΒΆ
Set maximum duration in seconds for each CLI call.
- --descriptionΒΆ
Show package description in results.
- -s, --sort-by <sort_by>ΒΆ
Sort results.
- Options:
manager_id | manager_name | package_id | package_name | version
- --stats, --no-statsΒΆ
Print per-manager package statistics.
- --bar-plugin-pathΒΆ
Print location of the Xbar/SwiftBar plugin.
- --time, --no-timeΒΆ
Measure and print elapsed execution time.
- --color, --ansi, --no-color, --no-ansiΒΆ
Strip out all colors and all ANSI codes from output.
- --config <CONFIG_PATH>ΒΆ
Location of the configuration file. Supports local path with glob patterns or remote URL.
- --no-configΒΆ
Ignore all configuration files and only use command line parameters and environment variables.
- --validate-config <validate_config>ΒΆ
Validate the configuration file and exit.
- --show-paramsΒΆ
Show all CLI parameters, their provenance, defaults and value, then exit.
- -o, --output-format <output_format>ΒΆ
Rendering format of the output.
- Options:
aligned | asciidoc | colon-grid | csv | csv-excel | csv-excel-tab | csv-unix | double-grid | double-outline | fancy-grid | fancy-outline | github | grid | heavy-grid | heavy-outline | hjson | html | jira | json | json5 | jsonc | latex | latex-booktabs | latex-longtable | latex-raw | mediawiki | mixed-grid | mixed-outline | moinmoin | orgtbl | outline | pipe | plain | presto | pretty | psql | rounded-grid | rounded-outline | rst | simple | simple-grid | simple-outline | textile | toml | tsv | unsafehtml | vertical | xml | yaml | youtrack
- --verbosity <LEVEL>ΒΆ
Either CRITICAL, ERROR, WARNING, INFO, DEBUG.
- Options:
CRITICAL | ERROR | WARNING | INFO | DEBUG
- -v, --verboseΒΆ
- --versionΒΆ
Show the version and exit.
Environment variables
- ('MPM_APM',)
Provide a default for
--apm
- ('MPM_APT',)
Provide a default for
--apt
- ('MPM_APT_MINT',)
Provide a default for
--apt-mint
- ('MPM_BREW',)
Provide a default for
--brew
- ('MPM_CARGO',)
Provide a default for
--cargo
- ('MPM_CASK',)
Provide a default for
--cask
- ('MPM_CHOCO',)
Provide a default for
--choco
- ('MPM_COMPOSER',)
Provide a default for
--composer
- ('MPM_CPAN',)
Provide a default for
--cpan
- ('MPM_DEB_GET',)
Provide a default for
--deb-get
- ('MPM_DNF',)
Provide a default for
--dnf
- ('MPM_DNF5',)
Provide a default for
--dnf5
- ('MPM_EMERGE',)
Provide a default for
--emerge
- ('MPM_EOPKG',)
Provide a default for
--eopkg
- ('MPM_FLATPAK',)
Provide a default for
--flatpak
- ('MPM_FWUPD',)
Provide a default for
--fwupd
- ('MPM_GEM',)
Provide a default for
--gem
- ('MPM_MAS',)
Provide a default for
--mas
- ('MPM_NPM',)
Provide a default for
--npm
- ('MPM_OPKG',)
Provide a default for
--opkg
- ('MPM_PACAUR',)
Provide a default for
--pacaur
- ('MPM_PACMAN',)
Provide a default for
--pacman
- ('MPM_PACSTALL',)
Provide a default for
--pacstall
- ('MPM_PARU',)
Provide a default for
--paru
- ('MPM_PIP',)
Provide a default for
--pip
- ('MPM_PIPX',)
Provide a default for
--pipx
- ('MPM_PKG',)
Provide a default for
--pkg
- ('MPM_SCOOP',)
Provide a default for
--scoop
- ('MPM_SDKMAN',)
Provide a default for
--sdkman
- ('MPM_SNAP',)
Provide a default for
--snap
- ('MPM_STEAMCMD',)
Provide a default for
--steamcmd
- ('MPM_STEW',)
Provide a default for
--stew
- ('MPM_UV',)
Provide a default for
--uv
- ('MPM_UVX',)
Provide a default for
--uvx
- ('MPM_VSCODE',)
Provide a default for
--vscode
- ('MPM_VSCODIUM',)
Provide a default for
--vscodium
- ('MPM_WINGET',)
Provide a default for
--winget
- ('MPM_YARN_BERRY',)
Provide a default for
--yarn-berry
- ('MPM_YARN',)
Provide a default for
--yarn
- ('MPM_YAY',)
Provide a default for
--yay
- ('MPM_YUM',)
Provide a default for
--yum
- ('MPM_ZEROBREW',)
Provide a default for
--zerobrew
- ('MPM_ZYPPER',)
Provide a default for
--zypper
- ('MPM_NO_APM',)
Provide a default for
--no-apm
- ('MPM_NO_APT',)
Provide a default for
--no-apt
- ('MPM_NO_APT_MINT',)
Provide a default for
--no-apt-mint
- ('MPM_NO_BREW',)
Provide a default for
--no-brew
- ('MPM_NO_CARGO',)
Provide a default for
--no-cargo
- ('MPM_NO_CASK',)
Provide a default for
--no-cask
- ('MPM_NO_CHOCO',)
Provide a default for
--no-choco
- ('MPM_NO_COMPOSER',)
Provide a default for
--no-composer
- ('MPM_NO_CPAN',)
Provide a default for
--no-cpan
- ('MPM_NO_DEB_GET',)
Provide a default for
--no-deb-get
- ('MPM_NO_DNF',)
Provide a default for
--no-dnf
- ('MPM_NO_DNF5',)
Provide a default for
--no-dnf5
- ('MPM_NO_EMERGE',)
Provide a default for
--no-emerge
- ('MPM_NO_EOPKG',)
Provide a default for
--no-eopkg
- ('MPM_NO_FLATPAK',)
Provide a default for
--no-flatpak
- ('MPM_NO_FWUPD',)
Provide a default for
--no-fwupd
- ('MPM_NO_GEM',)
Provide a default for
--no-gem
- ('MPM_NO_MAS',)
Provide a default for
--no-mas
- ('MPM_NO_NPM',)
Provide a default for
--no-npm
- ('MPM_NO_OPKG',)
Provide a default for
--no-opkg
- ('MPM_NO_PACAUR',)
Provide a default for
--no-pacaur
- ('MPM_NO_PACMAN',)
Provide a default for
--no-pacman
- ('MPM_NO_PACSTALL',)
Provide a default for
--no-pacstall
- ('MPM_NO_PARU',)
Provide a default for
--no-paru
- ('MPM_NO_PIP',)
Provide a default for
--no-pip
- ('MPM_NO_PIPX',)
Provide a default for
--no-pipx
- ('MPM_NO_PKG',)
Provide a default for
--no-pkg
- ('MPM_NO_SCOOP',)
Provide a default for
--no-scoop
- ('MPM_NO_SDKMAN',)
Provide a default for
--no-sdkman
- ('MPM_NO_SNAP',)
Provide a default for
--no-snap
- ('MPM_NO_STEAMCMD',)
Provide a default for
--no-steamcmd
- ('MPM_NO_STEW',)
Provide a default for
--no-stew
- ('MPM_NO_UV',)
Provide a default for
--no-uv
- ('MPM_NO_UVX',)
Provide a default for
--no-uvx
- ('MPM_NO_VSCODE',)
Provide a default for
--no-vscode
- ('MPM_NO_VSCODIUM',)
Provide a default for
--no-vscodium
- ('MPM_NO_WINGET',)
Provide a default for
--no-winget
- ('MPM_NO_YARN_BERRY',)
Provide a default for
--no-yarn-berry
- ('MPM_NO_YARN',)
Provide a default for
--no-yarn
- ('MPM_NO_YAY',)
Provide a default for
--no-yay
- ('MPM_NO_YUM',)
Provide a default for
--no-yum
- ('MPM_NO_ZEROBREW',)
Provide a default for
--no-zerobrew
- ('MPM_NO_ZYPPER',)
Provide a default for
--no-zypper
- ('MPM_ALL_MANAGERS',)
Provide a default for
-a
- ('MPM_XKCD',)
Provide a default for
-x
- ('MPM_MANAGER',)
Provide a default for
-m
- ('MPM_EXCLUDE',)
Provide a default for
-e
- ('MPM_IGNORE_AUTO_UPDATES',)
Provide a default for
--ignore-auto-updates
- ('MPM_STOP_ON_ERROR',)
Provide a default for
--stop-on-error
- ('MPM_DRY_RUN',)
Provide a default for
-d
- ('MPM_TIMEOUT',)
Provide a default for
-t
- ('MPM_DESCRIPTION',)
Provide a default for
--description
- ('MPM_SORT_BY',)
Provide a default for
-s
- ('MPM_STATS',)
Provide a default for
--stats
- ('MPM_BAR_PLUGIN_PATH',)
Provide a default for
--bar-plugin-path
- ('MPM_TIME',)
Provide a default for
--time
- ('MPM_COLOR',)
Provide a default for
--color
- ('MPM_CONFIG',)
Provide a default for
--config
- ('MPM_CONFIG',)
Provide a default for
--no-config
- ('MPM_VALIDATE_CONFIG',)
Provide a default for
--validate-config
- ('MPM_SHOW_PARAMS',)
Provide a default for
--show-params
- ('MPM_OUTPUT_FORMAT',)
Provide a default for
-o
- ('MPM_VERBOSITY',)
Provide a default for
--verbosity
- ('MPM_VERBOSE',)
Provide a default for
--verbose
- ('MPM_VERSION',)
Provide a default for
--version
backupΒΆ
Dump the list of installed packages to a TOML file.
By default the generated TOML content is displayed directly in the console output. So mpm backup is the same as a call to mpm backup -. To have the result written in a file on disk, specify the output file like so: mpm backup packages.toml.
Files produced by this subcommand can be safely consumed by mpm restore.
Sections of the TOML file will be named after the manager ID. Sections are ordered in the same order as the manager selection priority. Each section will contain a list of package IDs and their installed version.
Usage
mpm backup [OPTIONS] [TOML_PATH]
Options
- --overwrite, --force, --replaceΒΆ
Allow the provided TOML file to be silently wiped out if it already exists.
- --mergeΒΆ
Read the provided TOML file and update each entry with the version currently installed on the system. Requires the [TOML_PATH] argument.
- --update-versionΒΆ
Read the provided TOML file and update each existing entry with the version currently installed on the system. Requires the [TOML_PATH] argument.
Arguments
- TOML_PATHΒΆ
Optional argument
Environment variables
- ('BACKUP_OVERWRITE',)
Provide a default for
--overwrite
- ('BACKUP_MERGE',)
Provide a default for
--merge
- ('BACKUP_UPDATE_VERSION',)
Provide a default for
--update-version
cleanupΒΆ
Cleanup local data, temporary artifacts and removes orphaned dependencies.
Usage
mpm cleanup [OPTIONS]
installΒΆ
Install one or more packages.
This subcommand is sensible to the order of the package managers selected by the user.
Installation will first proceed for all the packages found to be tied to a specific manager. Which is the case for packages provided with precise package specifiers (like purl). This will also happens in situations in which a tighter selection of managers is provided by the user.
For packages whose manager is not known, or if multiple managers are candidates for the installation, mpm will try to find the best manager to install it with.
Installation will be attempted with each manager, in the order they were selected. If a search for the package ID returns no result from the highest-priority manager, we will skip the installation and try the next available managers in the order of their priority.
Usage
mpm install [OPTIONS] PACKAGES_SPECS...
Arguments
- PACKAGES_SPECSΒΆ
Required argument(s)
A mix of plain <package_id>, simple <package_id@version> specifiers or full <pkg:npm/left-pad> purls.
installedΒΆ
List all packages installed on the system by each manager.
Usage
mpm installed [OPTIONS]
Options
- -d, --duplicatesΒΆ
Only list installed packages sharing the same ID. Implies βsort_by package_id to make duplicates easier to compare between themselves.
Environment variables
- ('INSTALLED_DUPLICATES',)
Provide a default for
-d
managersΒΆ
List all supported package managers and autodetect their presence on the system.
Usage
mpm managers [OPTIONS]
outdatedΒΆ
List available package upgrades and their versions for each manager.
Usage
mpm outdated [OPTIONS]
Options
- --plugin-outputΒΆ
Output results for direct consumption by an Xbar/SwiftBar-compatible plugin. The layout is dynamic and depends on environment variables set by either Xbar or SwiftBar.
Environment variables
- ('OUTDATED_PLUGIN_OUTPUT',)
Provide a default for
--plugin-output
removeΒΆ
Remove one or more packages.
Packages recognized by multiple managers will be remove with each of them. You can fine-tune this behavior with more precise package specifiers (like purl) and/or tighter selection of managers.
Packages unrecognized by any selected manager will be skipped.
Usage
mpm remove [OPTIONS] PACKAGES_SPECS...
Arguments
- PACKAGES_SPECSΒΆ
Required argument(s)
A mix of plain <package_id>, simple <package_id@version> specifiers or full <pkg:npm/left-pad> purls.
restoreΒΆ
Read TOML files then install or upgrade each package referenced in them.
Usage
mpm restore [OPTIONS] TOML_FILES...
Arguments
- TOML_FILESΒΆ
Required argument(s)
sbomΒΆ
Export list of installed packages to a SPDX or CycloneDX file.
Usage
mpm sbom [OPTIONS] [EXPORT_PATH]
Options
- --spdx, --cyclonedxΒΆ
SBOM standard to export to.
- --format <export_format>ΒΆ
File format of the export. Defaults to JSON for <stdout>. If not provided, will be autodetected from file extension.
- Options:
json | xml | yaml | tag | rdf
- --overwrite, --force, --replaceΒΆ
Allow the target file to be silently wiped out if it already exists.
Arguments
- EXPORT_PATHΒΆ
Optional argument
Environment variables
- ('SBOM_SPDX',)
Provide a default for
--spdx
- ('SBOM_EXPORT_FORMAT',)
Provide a default for
--format
- ('SBOM_OVERWRITE',)
Provide a default for
--overwrite
searchΒΆ
Search each manager for a package ID, name or description matching the query.
Usage
mpm search [OPTIONS] QUERY
Options
- --extended, --id-name-onlyΒΆ
Extend search to description, instead of restricting it to package ID and name. Implies βdescription.
- --exact, --fuzzyΒΆ
Only returns exact matches on package ID or name.
- --refilter, --no-refilterΒΆ
Let mpm refilters managersβ search results.
Arguments
- QUERYΒΆ
Required argument
Environment variables
- ('SEARCH_EXTENDED',)
Provide a default for
--extended
- ('SEARCH_EXACT',)
Provide a default for
--exact
- ('SEARCH_REFILTER',)
Provide a default for
--refilter
syncΒΆ
Sync local package metadata and info from external sources.
Usage
mpm sync [OPTIONS]
upgradeΒΆ
Upgrade one or more outdated packages.
All outdated package will be upgraded by default if no specifiers are provided as arguments. I.e. assumes -A/βall option if no [PACKAGES_SPECS]β¦.
Packages recognized by multiple managers will be upgraded with each of them. You can fine-tune this behavior with more precise package specifiers (like purl) and/or tighter selection of managers.
Packages unrecognized by any selected manager will be skipped.
Usage
mpm upgrade [OPTIONS] [PACKAGES_SPECS]...
Options
- -A, --allΒΆ
Upgrade all outdated packages. Will make the command ignore package IDs provided as parameters.
Arguments
- PACKAGES_SPECSΒΆ
Optional argument(s)
A mix of plain <package_id>, simple <package_id@version> specifiers or full <pkg:npm/left-pad> purls.
Environment variables
- ('UPGRADE_ALL',)
Provide a default for
-A
whichΒΆ
Search from the userβs environment all CLIs matching the query.
This is mpmβs own version of the which -a UNIX command, used internally to locate binaries for each manager. It is exposed as a subcommand for convenience and to help troubleshoot CLI resolution logic.
Compared to the venerable which command, this will respect the additional path configured for each package manager. It will ignore files that are empty (0 size). On Windows, it additionally suppress the default lookup in the current directory, which takes precedence on other paths.
Usage
mpm which [OPTIONS] CLI_NAMES...
Arguments
- CLI_NAMESΒΆ
Required argument(s)