How to run the ClearRun CLI without installing it (npx)
Put npx @clearrun/cli in front of any command, such as npx @clearrun/cli score --text "Our API never stores customer data.". npx downloads the CLI and runs it. Nothing is installed globally.
Last updated
Steps
Run any command through npx
npx @clearrun/cli --version npx @clearrun/cli login npx @clearrun/cli score --text "The capital of France is Paris."Pin a version for scripts and CI
npx -y @clearrun/cli@1.2.0 score responses/-yskips the install prompt. A pinned version keeps the commands the same between runs.
Seeing "Unknown command: score"?
npx may be using an old cached copy. Run npx @clearrun/cli@latest --version. The current package is 1.2.0. score has been in the CLI since 0.3.0.