CLI
CLI Reference
SEO audits from your terminal. Zero config, instant results.
Installation
Install globallybash
npm install -g indxel-cliOr use npx (no install)bash
npx indxel-cli <command>Requirements
Node.js 18+. Works on macOS, Linux, and Windows.
Commands
init
npx indxel-cli initScaffold seo.config.ts, sitemap.ts, robots.ts. Optional git pre-push hook.
check
npx indxel-cli checkStatic analysis of Next.js page files. Extracts metadata, validates against 15 rules.
crawl
npx indxel-cli crawl <url>Live site crawling. Audits every page, runs cross-page analysis.
keywords
npx indxel-cli keywords <seed>Keyword research via Google Autocomplete. Optional content gap analysis.
index
npx indxel-cli index <url>Indexation readiness diagnostic. Sitemap, robots.txt, and indexing checks.
Global Flags
| Flag | Description |
|---|---|
| --json | Output results as JSON (all commands) |
| --cwd <path> | Set working directory (init, check) |
| --strict | Treat warnings as errors (check, crawl) |
| --help | Show 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