RankCLI documentation

Getting Started

Get up and running with RankCLI in minutes. Choose between the CLI for local development or the web dashboard for a visual experience.

Installation

npm works everywhere Node does. Homebrew and Scoop install a standalone binary instead — no Node required.

npx @rankcli/cli audit -u https://your-site.dev

Also available via yarn global add @rankcli/cli or pnpm add -g @rankcli/cli.

Verify the installation:

rankcli --version

Web Dashboard Alternative

Don't want to install anything? Use the web dashboard to run audits directly in your browser. Just add your site URL and click "Run Audit".

Authentication

Link your CLI to your RankCLI account to unlock full features:

rankcli login

This will prompt for email and password. You can also use browser-based login:

rankcli login --browser

Or provide your email directly:

rankcli login --email you@example.com

API Key Authentication (CI/CD)

For non-interactive environments like CI/CD pipelines, use an API key:

rankcli login --token rankcli_your_api_key_here

Or set the environment variable (recommended for CI):

export RANKCLI_API_KEY=rankcli_your_api_key_here

Generate an API key from Account Settings → API Keys.

Check your login status:

rankcli whoami

Without Authentication

You can still run basic audits without logging in, but you'll be limited to 50 checks and won't have access to cloud features like audit history, issue tracking, and automatic PR creation.

Feature Comparison

FeatureAnonymousFreeSoloPro+
SEO Checks50100280+280+
Cloud Sync-
GitHub Connect---
Auto-Fix PRs---

Running Your First Audit

Run a comprehensive SEO audit on any URL:

rankcli audit --url https://yoursite.com

What Gets Checked

The audit runs 280+ SEO checks across these categories:

Crawlability

robots.txt, sitemap, indexability

On-Page SEO

Title, meta, headings, URLs

Content

Word count, readability, keywords

Performance

Page speed, compression, caching

Security

HTTPS, headers, vulnerabilities

Social

OG tags, Twitter cards

Structured Data

Schema.org, JSON-LD

AI Readiness

LLM optimization, citations

Framework

React, Next.js, Vue, etc.

Multi-Page Audits

Audit multiple pages at once to find site-wide issues:

rankcli audit --url https://yoursite.com --max-pages 10

AI-Powered Analysis

Enable AI analysis for content suggestions and prioritized fixes:

rankcli audit --url https://yoursite.com --ai

Runs on your own provider, never RankCLI's: Apple Intelligence on a Mac that has it, otherwise the first key it finds (OPENROUTER_API_KEY, OPENAI_API_KEY, ...) or a local Ollama. Choose one with --ai-provider.