CLI

CLI Reference

SEO audits from your terminal. Zero config, instant results.

Installation

Install globallybash
npm install -g indxel-cli
Or use npx (no install)bash
npx indxel-cli <command>

Requirements

Node.js 18+. Works on macOS, Linux, and Windows.

Commands

Global Flags

FlagDescription
--jsonOutput results as JSON (all commands)
--cwd <path>Set working directory (init, check)
--strictTreat warnings as errors (check, crawl)
--helpShow help for any command

Quick Example

Full workflowbash
# 1. Initialize SEO in your project
npx indxel-cli init

# 2. Check your Next.js pages
npx indxel-cli check
# ✓ 12 pages scanned — Score: 91/100 (A)

# 3. Crawl your live site
npx indxel-cli crawl https://mysite.com
# ✓ 47 pages crawled — Score: 88/100 (B) — 3 errors, 5 warnings

# 4. Add to CI (fails build on errors)
npx indxel-cli check --ci