How to install the ClearRun CLI
Run npm install -g @clearrun/cli, then clearrun --version to check it worked. You need Node.js 18 or newer.
Last updated
Steps
Check Node.js
node --versionIt should print 18 or higher.
Install the CLI
npm install -g @clearrun/cliCheck the version
clearrun --version
Next
Save your key with clearrun login. See How to save your API key with clearrun login.
Don't want a global install? Use npx. See How to run the ClearRun CLI without installing it (npx).
If clearrun is not found
npm's global folder is not on your PATH. Run npm prefix -g and add its bin folder to PATH, or use npx @clearrun/cli instead.