by GPC - Google Play Console CLI Ship Android apps from your terminal. No Ruby. No browser. No ceremony. v1.0 is stable. Commands, flags, exit codes and --json output follow semantic versioning, so a pinned CI pipeline keeps working. What 1.0 promises. GPC is a command-line interface covering 238 publisher-focused endpoints across four Google Play APIs from a single binary. It handles releases, rollouts, store…
Ship Android apps from your terminal. No Ruby. No browser. No ceremony.
v1.0 is stable. Commands, flags, exit codes and --json output follow semantic versioning, so a pinned CI pipeline keeps working. What 1.0 promises.
GPC is a command-line interface covering 238 publisher-focused endpoints across four Google Play APIs from a single binary. It handles releases, rollouts, store listings, vitals monitoring, reviews, subscriptions, reports, and Managed Google Play publishing without requiring Ruby, a JVM, or a browser. Built for Android developers, release engineers, and DevOps teams who ship from the terminal.
GPC also includes an offline compliance scanner that catches Google Play policy violations before you upload, and a real-time rollout monitor that auto-halts on crash rate spikes.
Free to use. No account required beyond your existing Google Play service account.
How to Ship an Android Release from the Terminal
Install GPC - npm install -g @gpc-cli/cli (also available via Homebrew or standalone binary)
Set up - Run gpc setup for guided first-time configuration (or gpc setup --auto in CI), or authenticate manually: gpc auth login --service-account path/to/key.json
Verify your setup - gpc doctor runs 20+ automated checks on auth, config, and connectivity
Check app health - gpc status shows releases, vitals, and reviews in one view
Upload your build - gpc releases upload app.aab --track internal
Promote to production - gpc releases promote --from internal --to production --rollout 10
Monitor the rollout - gpc watch --on-breach halt tracks crash rates and auto-halts on threshold breach
Check reviews - gpc reviews list --stars 1-3 --since 7d
Why GPC?
Every Android release is the same ritual: open the Play Console, upload your AAB, copy-paste release notes, pick a track, set the rollout percentage, click through confirmation screens. Fifteen minutes of clicking, every single time.
GPC covers 238 publisher-focused Google Play API endpoints in one CLI. No Ruby. No browser. No ceremony.
GPC
Fastlane supply
gradle-play-publisher
Console UI
API coverage
238 endpoints
~20
~15
All (manual)
Runtime
Node.js or standalone binary
Ruby + Bundler
JVM
Browser
Cold start
<500ms
2-3s
3-5s
5-10s
Reviews & Vitals
Yes
No
No
Yes (manual)
Subscriptions & IAP
Yes
No
No
Yes (manual)
Managed Google Play
Yes (first CLI to support)
No
No
Yes (manual)
Play Games config
Yes (achievements + leaderboards CRUD)
No
No
Yes (manual)
CI/CD native
JSON + exit codes + env vars
Partial
Gradle tasks
No
Preflight scanner
9 offline policy checks
No
No
No
Interactive mode
Yes (guided prompts)
No
No
N/A
Test suite
3,189 tests, 90%+ coverage
Already on Fastlane? See the migration guide. Most commands map one-to-one.
Ship
From first upload to full production rollout, without touching a browser.
gpc publish app.aab --track beta --notes "Bug fixes" # End-to-end flow
gpc releases upload app.aab --track internal # Upload to any track
gpc releases promote --from beta --to production --rollout 5
gpc releases rollout increase --track production --to 50
gpc releases rollout halt --track production # Emergency brake
gpc validate app.aab --track beta # Dry-run before committing
gpc publish app.aab --track beta --validate-only # Validate without creating a release
Manage store listings, screenshots, and localization. Works with Fastlane metadata format.
From git log to translated Play Store release notes, in one command.
# GitHub Release markdown from your commits (clusters, lints, LLM prompt)
gpc changelog generate # paste into the GH Release body
gpc changelog generate | gh release create v1.2.3 -F - # one-command release
# Per-locale Play Store "What's new" text (500-char budget enforced per locale)
gpc changelog generate --target play-store --locales auto
# Translate non-source locales via your own LLM key (BYO, no vendor lock-in)
gpc changelog generate --target play-store --locales auto --ai
--ai auto-detects whichever provider key is set: ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or AI_GATEWAY_API_KEY for the Vercel AI Gateway (20+ providers plus cost-per-run in USD). Non-reasoning model defaults so you don’t pay for thinking tokens on a translation task.
gpc status # Releases + vitals + reviews in one view
gpc status --watch 60 # Live polling every 60 seconds
gpc status --all-apps # Check all your apps at once
gpc watch --track production # Real-time rollout monitoring with alerts
gpc watch --on-breach halt # Auto-halt rollout on threshold breach
gpc vitals crashes --threshold 0.02 # Exit code 6 if breached (CI gate)
gpc reviews list --stars 1-2 --since 7d # Filter reviews by stars and date
gpc reviews reply <id> --text "Thanks!" # Reply without opening a browser
Manage Play Games Services achievements and leaderboards.
gpc games achievements list --game-id 12345678901234
gpc games achievements create --file achievement.json
gpc games leaderboards diff <id> --file leaderboard.json
Protect
Catch problems before Google does. No other tool does this. GPC ships a hardened security posture: plugin RCE prevention, SSRF protection on resumable uploads, symlink traversal rejection, and credential redaction across doctor and config output. See the changelog for the full history.
Is GPC free?
Yes. GPC is free to use. The code is on GitHub. No subscription, no usage limits, no account required beyond your existing Google Play developer account and service account key.
Does GPC replace Fastlane for Android?
For Google Play, yes. GPC covers 238 API endpoints compared to Fastlane supply’s ~20. It handles vitals, reviews, subscriptions, Managed Google Play, and offline compliance scanning, none of which Fastlane supports. See the migration guide for a command-by-command mapping.
Can GPC create new apps on Google Play?
No. Google Play does not offer an API endpoint to create apps. You create the app once in the Play Console UI, then GPC handles the entire lifecycle after that: uploads, releases, rollouts, metadata, vitals, reviews, and more.
Does GPC work in CI/CD pipelines?
Yes. Every command supports --json output and uses semantic exit codes (0-6). Authenticate with a service account key via environment variable. See the CI/CD recipes for GitHub Actions, GitLab CI, Bitbucket Pipelines, and CircleCI.
What is the preflight scanner?gpc preflight runs 9 offline scanners against your AAB or APK before you upload it. It checks target SDK, restricted permissions, 64-bit compliance, data safety, secrets in code, non-Play billing SDKs, tracking libraries, Families/COPPA policy, and download size. Catches rejection reasons before Google does.
Does GPC support Managed Google Play (enterprise)?
Yes. GPC is the first command-line tool to support the Play Custom App Publishing API. gpc enterprise publish creates and updates private apps for Managed Google Play without touching a browser.
License
MIT-licensed open source and free to use. See LICENSE for the full terms.
GPC is an independent project. Not affiliated with, endorsed by, or sponsored by Google LLC. "Google Play" and the Google Play logo are trademarks of Google LLC. "Android" and "Google" are trademarks of Google LLC.
评论