Skip to main content
Version: 3.x (unreleased)

mops self update

Update the Mops CLI to the latest version.

mops self update

When the latest version is a new major release, it contains breaking changes, so mops self update asks for confirmation and links the release notes instead of updating right away.

--major

Skip the confirmation and update across major versions. This is also the only way to cross a major non-interactively — in a non-terminal environment (CI, scripts), mops self update prints the notice and exits successfully without updating unless --major is passed, so a scripted update never absorbs a major silently and never starts failing when one is released:

mops self update --major

Updates within the same major (new minor or patch versions) never prompt.