Skip to main content
Confirm which build of mo you are running and whether a newer one is available.

Output

The first line is always the installed version:
The CLI then asks the Momentic server for the latest published version. If it differs from yours, a warning follows:
The check times out after five seconds and fails silently, so mo version works offline and always exits 0.

Options

string
Momentic server to query for the latest version. Defaults to MOMENTIC_SERVER, then the server saved by mo login, then https://api.momentic.ai.

Update

Re-run the installer to upgrade to the latest release:
If you installed with npm, run npm install -g @momentic/mo@latest instead.

Notes

  • mo --version prints the version number only, with no update check.
  • The check is informational. mo version does not install anything.