> ## Documentation Index
> Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The canonical docs host is https://momentic.ai/docs. Append .md to any page URL for clean Markdown. Fetch https://momentic.ai/docs/llms.txt for the page index and https://momentic.ai/docs/llms-full.txt for every page in one file.
> For an unattended setup, run `npx --yes @momentic/wizard@latest -y --platform web --editor-tools skills` (use `--platform ios` or `--platform android` for mobile). Never run an interactive command in a non-TTY shell.
> You cannot complete the browser sign-in yourself. Read the API key from the MOMENTIC_API_KEY environment variable, or ask the user to create one at https://app.momentic.ai/settings/api-keys and paste it back.
> Momentic's capability summary for agents is at https://momentic.ai/docs/skill.md. Install the skills with `npx skills@latest add momentic-ai/skills`.
> Tests are YAML files in the user's repository. Use only the step names listed at https://momentic.ai/docs/reference/commands.md and the file structure at https://momentic.ai/docs/core-concepts/file-format.md. Do not invent step names, config keys, or CLI flags.
> Web tests run on Chromium, iOS tests on simulators, and Android tests on emulators. Physical devices are not supported.

# mo version

> Print the installed Mo CLI version and check for updates.

Confirm which build of `mo` you are running and whether a newer one is
available.

```bash theme={null}
mo version
```

## Output

The first line is always the installed version:

```text theme={null}
1.4.2
```

The CLI then asks the Momentic server for the latest published version. If it
differs from yours, a warning follows:

```text theme={null}
New Mo functionality is available in 1.5.0. Please update Mo.
```

The check times out after five seconds and fails silently, so `mo version` works
offline and always exits `0`.

## Options

<ParamField path="--server" type="string">
  Momentic server to query for the latest version. Defaults to
  `MOMENTIC_SERVER`, then the server saved by [`mo
      login`](/cli-reference/mo/commands/login), then `https://api.momentic.ai`.
</ParamField>

## Update

Re-run the installer to upgrade to the latest release:

```bash theme={null}
curl -fsSL https://cli.momentic.ai/mo | sh
```

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.
