## Output

The first line is always the installed version:

```
1.4.2
```

The CLI then asks the Momentic server for the latest published version. npm-installed copies check the `qa` package on npm instead. If the version differs from yours, a warning follows:

```
New Mo functionality is available in 1.5.0. Run `qa upgrade` to update Mo.
```

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

## Options

--server  
string  
Momentic server to query for the latest version. Defaults to  
`MOMENTIC_SERVER`, then the server saved by [`qa login`](/content/docs/cli-reference/mo/commands/login/index.html), then `https://api.momentic.ai`.

## Update

Run [`qa upgrade`](/content/docs/cli-reference/mo/commands/upgrade/index.html) to install the latest release in place. Re-running the installer also works:

```
curl -fsSL https://cli.momentic.ai/qa | sh
```

If you installed with npm, the warning says to run `npm install -g qa@latest` instead. For project dependencies, update `qa` with your project’s package manager.

## Notes

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