The ASO CLI for
your terminal
App Store Optimization as shell commands — keyword difficulty, search popularity, rankings, and competitor analysis for iOS & Android. Pipe it, script it, put it in CI.
npm install -g @sonarapp/cli
sonar auth login
sonar keywords search "habit tracker" --store ios --table50 free credits on signup · No subscription required
The whole ASO workflow, one binary
Research, audit, track, export — the full Sonar API surface as subcommands.
Built for pipes and CI
Every command speaks JSON by default. Auth via SONAR_API_KEY for headless environments.
# Weekly rank report, straight to CSV
sonar export rankings <app-id> --format csv > ranks-$(date +%F).csv
# Gate a release on ASO health in CI (JSON is the default output)
score=$(sonar apps score com.example.app --store android | jq .data.score)
[ "$score" -ge 70 ] || echo "::warning::ASO score dropped to $score"Same data as the dashboard
Real Apple Search Popularity on iOS, calibrated Android estimates, and rankings validated against true store results. See the methodology.
ASO CLI questions
[ ANSWER ]
What is an ASO CLI?
A command-line tool for App Store Optimization: keyword research, difficulty scores, rank tracking, and competitor analysis from your terminal instead of a web dashboard — pipeable into scripts, cron jobs, and CI pipelines.
How do I install the Sonar CLI?
npm install -g @sonarapp/cli — then `sonar auth login` with your API key. It's a standalone Node.js binary published on npm, no other dependencies.
Can I use it in scripts and CI?
Yes — JSON is the default output format (add --table for human-readable tables), and auth works via the SONAR_API_KEY environment variable. Common uses: pre-release ASO checks in CI, scheduled rank exports, and keyword monitoring cron jobs.
Does it cover both iOS and Google Play?
Yes — every command takes --store ios|android and a --country code. Same data for both stores: difficulty, popularity, rankings, reviews, and revenue estimates.
What does it cost?
The CLI is free and open on npm; it talks to the Sonar API. Sign up for 50 free credits, then prepaid packs from $10 (no subscription) or the Full plan at $19/mo with 1,000 requests/day and daily rank tracking.
Related: the ASO API for direct HTTP access, and the ASO MCP server for AI agents.
npm install and go
Sign up for 50 free credits, grab your API key, and run your first keyword search from the terminal in under a minute.
50 free credits · No subscription · JSON output by default