mpm upgrade - Upgrade packages.
mpm upgrade [OPTIONS] [PACKAGES_SPECS]...
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.
- [PACKAGES_SPECS]...
- A mix of plain <package_id>, simple <package_id@version>
specifiers or full <pkg:npm/left-pad> purls.
- -A / --all
- Upgrade all outdated packages. Will make the command ignore package IDs
provided as parameters.
- --columns
COLUMNS
- Restrict and reorder table columns, SQL SELECT-style. Comma-separated list
of column IDs. Default: all columns in canonical order.
[values: package_id, package_name, manager_id, from_version, to_version,
status, released, eligible]
- --help /
-h
- Show this message and exit.
- UPGRADE_ALL
- Upgrade all outdated packages. Will make the command ignore package IDs
provided as parameters.
- UPGRADE_COLUMNS
- Restrict and reorder table columns, SQL SELECT-style. Comma-separated list
of column IDs. Default: all columns in canonical order.
- UPGRADE__CLICK_DEFAULT_HELP
- Show this message and exit.
- 0
- Success.
- 1
- A runtime error, an aborted prompt (Ctrl-D), or a declined
confirmation.
- 2
- A usage error: unknown option, invalid value, missing operand, or an
unparsable configuration file.
- 130
- Interrupted with Ctrl-C: the process ends by SIGINT, reported as 130.
Upgrade every outdated package of every manager
Upgrade two packages wherever they are installed
Sit out the first days of each new release
mpm \-\-cooldown "7 days" upgrade \-\-all