Skip to content

CLI install and update

Install the Operately CLI globally with npm:

Terminal window
npm install -g @operately/operately-cli

The package installs both operately and op.

Check that the CLI is available and print its current version:

Terminal window
operately --version

If that prints a version number, the CLI is installed and ready to use.

To update an existing installation, use either of these commands:

Terminal window
npm update -g @operately/operately-cli
Terminal window
npm install -g @operately/operately-cli@latest

After updating, verify the installed version again:

Terminal window
operately --version