qa version - Momentic

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, then https://api.momentic.ai.

Update

Run qa upgrade 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