Updated 2026-07-11

CLI

Install the RankRush CLI, authenticate with an API key, and query your AI-visibility data from the terminal.

The RankRush CLI runs the same AI-visibility checks and audits you get in the dashboard, straight from your terminal - scriptable and CI-friendly. Every command prints JSON.

Install

Install globally for a permanent rankrush command, or run it once with npx.

npm
npm install -g @rankrush.ai/cli
rankrush --help
curl
curl -fsSL https://rankrush.ai/install.sh | sh
rankrush --help
npx
# Zero install - prefix every command with npx
npx @rankrush.ai/cli --help

pip install rankrush-cli and brew install rankrush are coming soon.

Authenticate

Generate a scoped key in the dashboard (keys are prefixed rr_live_) and put it in RANKRUSH_API_KEY - the only secret the CLI needs. Never commit it:

export RANKRUSH_API_KEY="<your-api-key>"

Run a command

Each command selects a business by name and prints JSON:

rankrush visibility-check --business "Your Business"

More commands:

rankrush profiles-list
rankrush keywords-list --business "Your Business"
rankrush audit-run --business "Your Business"
rankrush visibility-check --business "Your Business" | jq .score

Run rankrush --help for the full list. If you’re using npx instead of a global install, prefix each command with npx @rankrush.ai/cli in place of rankrush.