Getting set up took less than a day. Channel-based rollouts let me test on my own device before anything hits production users.
One CLI for Capacitor releases
Init, compatibility checks, guarded live updates, and signed native builds. The same commands on a laptop and in CI.
Agents that should run this from chat belong on Capgo MCP .
-
Kick -
Pizza Hut -
Breeze Airways -
KPMG -
Rocket Lawyer -
SCOTT Sports
Release workflows people trust from terminal to production
Short notes from teams using Capgo for Capacitor updates, native builds, and release control.
Being able to add Device ID's to certain groups and push the changes to only certain groups is a life saver.
Release checks, guarded uploads, and native builds in one terminal session.
Capgo CLI vs. the alternatives.
Same release work. Different automation.
| Capgo CLI | DIY / manual Scripts, Fastlane, and dashboard clicks | Competitor cloud | |
|---|---|---|---|
| Release CLI | One CLI. OTA uploads, native builds, channels, compatibility, device runs, and MCP from the same terminal. | Separate scripts, curl jobs, Fastlane lanes, and one-off API calls you maintain yourself. | No first-class CLI. Releases stay in the dashboard or git-triggered flows. |
| Delta and encryption | Smaller, sealed bundles. Delta uploads send changed files. v2 encryption keys from the CLI keep bundle contents unreadable without your key. | Full archives, and encryption only if you built it. | Portal upload. Delta and encryption depend on that product’s CLI, when it has one. |
| OTA vs native decision | Explicit command. bundle releaseType tells you whether OTA is safe or a native build is required before you ship. | Manual review of native diffs and tribal knowledge. | Dashboard hints at best. Easy to guess wrong under pressure. |
| Guarded OTA upload | From CI. bundle upload with compatibility gates, delta support, encryption, and QR preview links. | Manual zip upload or custom API scripts with checks you wrote. | Portal upload or git hook. Limited preflight from the terminal. |
| Native build requests | Same terminal. build request with output records, QR links, and logs streamed back to your shell. | Open Xcode, Android Studio, or Fastlane on a Mac you babysit. | Push to git or click in the dashboard. No scriptable build record for CI. |
| CI integration | Scriptable output. JSON build records, exit codes, and QR artifacts your pipeline can gate on. | You glue together every step, secret, and artifact path. | Webhooks in places. Most teams still coordinate releases manually. |
| Compatibility checks | Before upload. CLI scans native dependencies and fails early when OTA would be unsafe. | No guardrails unless you built them. | Basic bundle validation. Native drift is easy to miss. |
| Try before you pay | Yes. 14-day unlimited free trial. No credit card required. | Cheap until you count the hours keeping scripts alive. | Tiered plans. Trials vary by vendor. |
Comparison reflects typical DIY/manual setups and public competitor cloud documentation.
CLI surface
Every release step has a command
Init, compatibility, upload, channels, encryption, native builds, and CI all go through npx @capgo/cli@latest. The reference
for each command is linked on the card.
init
Register the app and upload a first bundle
Run this in a Capacitor project. init links the app to your Capgo account, installs the updater, checks that notifyAppReady() is called, builds, and uploads a first bundle. login stores the API key for the next commands.
- npx @capgo/cli@latest login stores the key. --local writes it in the repo and gitignores it.
- Any command accepts --apikey when CI should not reuse a laptop login.
- The CLI version does not follow the updater major. Always run @latest.
npx @capgo/cli@latest init bundle upload
Publish a web bundle onto a channel
bundle upload sends the web build to one or more channels. Pair it with a compatibility gate so a drifted native binary fails the job before the channel moves.
- --fail-on-incompatible exits non-zero when the bundle does not match the channel’s native packages. That is the CI flag.
- --channel production,beta links one upload to several channels. --rollout sets a percentage from 0 to 100.
- --auto-bump picks the next free semver. The ai level compares local files to the previous delta manifest and prints why it chose major, minor, patch, or metadata.
- --qr-preview prints a device preview link. --version-exists-ok lets a monorepo job succeed when that version is already on Capgo.
npx @capgo/cli@latest bundle upload --channel production --fail-on-incompatible --qr-preview bundle releaseType
Decide OTA or native before you ship
Live updates replace JavaScript, HTML, CSS, and assets. Plugin, permission, and native code changes need a new store binary. Two commands make that fork explicit.
- bundle releaseType recommends OTA or a native build for an app and channel.
- bundle compatibility scans native dependencies against the channel and fails early when OTA would be unsafe.
- build needed prints yes and exits 1 when a native build is required, no and exits 0 when it is not. Command failures exit 2, so CI can branch on the code.
npx @capgo/cli@latest bundle releaseType com.acme.app --channel production channel
Channels, rollouts, and one device
Channels are the release tracks: production, beta, or a tester lane. The CLI creates them, points them at a bundle, and reads what is live.
- channel add, channel set, channel list, and channel currentBundle manage the track without a dashboard session.
- app set can change the default upload channel, retention, preview QR codes, and custom device IDs.
- app debug reads one device, including a specific device with --device, when a tester is stuck on an old bundle.
npx @capgo/cli@latest channel currentBundle production com.acme.app bundle upload --delta
Delta updates and encrypted bundles
Devices can download the files that changed. Encryption keeps the bundle unreadable without your key. External storage keeps the zip on your own host.
- --delta uploads a manifest beside the full bundle. --delta-only skips the full bundle. --no-delta forces a full zip.
- key create and bundle encrypt use the v2 key. Encrypted contents stay unreadable to Capgo without your key material.
- --external stores a URL instead of the zip. Use it for private networks or bundles over 200 MB. Capgo does not read that URL’s contents.
npx @capgo/cli@latest bundle upload --channel production --delta build request
Request a signed iOS or Android build
The same CLI asks Capgo Build for a signed binary. No local Xcode or Android Studio session is required. Save credentials once, then request the build from a laptop or CI.
- build init and build credentials save store encrypted signing material for an app and platform.
- --output-upload keeps the install artifact. --output-record writes JSON, including the download URL and QR, for the pipeline to archive.
- build last-output reads one field back out of that file. build prescan checks the project before you spend build minutes.
npx @capgo/cli@latest build request com.acme.app --platform ios --build-mode release --output-upload --output-record .capgo/build.json doctor
Check the project, then the update endpoint
doctor inspects the local Capgo setup. probe asks the update endpoint whether this project would actually receive a bundle, and why not if it would not.
- doctor is the first command to run when an install looks wrong, and the output is what a bug report needs.
- probe --platform ios or android sends one request with the project’s Capacitor config.
- run device launches the native project when you want to watch the bundle load.
- observe reads logs, errors, release health, and a single device timeline from the terminal.
npx @capgo/cli@latest probe --platform ios CI
Same commands in CI
A pipeline uses a scoped API key and the non-interactive flags. Exit codes are the gate. JSON records are the artifact.
- Pass --apikey from CI secrets. Keep the key’s role limited to the job: upload, or upload plus build.
- bundle upload --fail-on-incompatible and build needed give the job a yes or no before a channel or a store binary moves.
- Webhooks can carry bundle and channel changes to the tools the team already watches. API keys and webhook endpoints are managed in the console.
npx @capgo/cli@latest bundle upload --channel production --fail-on-incompatible --apikey "$CAPGO_API_KEY" Command flow
From setup to the right release type
Capgo CLI commands make the important release fork explicit: live update when the web layer changed, native build when the app binary needs to move.
OTA path
Use compatibility gates and preview QR links when the web bundle can move safely.
Native path
Request a signed build when dependencies, permissions, or native code changed.
- 1
Initialize updates, upload, build, and verification flows
npx @capgo/cli@latest init - 2
Ask whether a release should be OTA or native
npx @capgo/cli@latest bundle releaseType com.acme.app --channel production - 3
Upload a guarded live update with a preview QR
npx @capgo/cli@latest bundle upload --channel production --fail-on-incompatible --qr-preview - 4
Request a native build and keep output for CI or PRs
npx @capgo/cli@latest build request com.acme.app --platform ios --build-mode release --output-upload --output-record .capgo/build.json
Automation
Scoped keys in, release events out
Give CI and agents a key that can only do its job, then push every bundle and channel change to the tools your team already watches.
Scoped keys for CI, scripts, and AI agents
Create keys limited to one organization or app, with an upload, read, or write mode and an expiry date. Keys can be stored hashed and never shown again.
- Upload-only keys for CI pipelines
- An expiry date on every key
- Hashed storage when your org requires it
Send release events to Slack, Datadog, or your own service
Subscribe endpoints to bundle, channel, member, and organization changes, and inspect every delivery with its status and response.
- Pick the events each endpoint receives
- Delivery log with response codes and retries
- Send a test event before going live
Capgo MCP
Let an agent run the account from chat
Hosted MCP for apps, channels, Observe, and build logs. Local CLI MCP when the agent must upload a bundle or run doctor on this machine.
Build record
iOS release build
Saved output for CI, PR checks, and mobile review.
- Platform
- iOS
- Mode
- release
- Output
- IPA and install QR
- Record
- .capgo/build.json
npx @capgo/cli@latest build request com.acme.app --platform ios --output-upload --output-record .capgo/build.json Status is visible before release notes are posted.
QR output stays available for device validation.
Errors can fail CI before a risky release ships.
Apps built with Capacitor
Capacitor apps need release tooling that respects native boundaries
Large Capacitor apps mix web changes with native dependencies. The Capgo CLI keeps that boundary visible before a production release goes out.
Apps shown are sourced from a public store app dataset used across the website.
WEATHER
Windy.com - Weather Forecast
TOOLS
Mi Orange
TOOLS
My Vodafone
Questions
Do I install the Capgo CLI?
No install step. Run npx @capgo/cli@latest. Always use @latest. The CLI version does not need to match the updater plugin major or the Capacitor major.
When is a change a live update, and when does it need a store build?
bundle releaseType recommends OTA or a native build. bundle compatibility scans native dependencies against the channel. Web-only changes can upload. Plugin, permission, and native code changes need a new binary. build needed exits 1 when a native build is required and 0 when it is not.
Can CI use the same commands?
Yes. Pass --apikey from CI secrets. Use --fail-on-incompatible on bundle upload so a drifted native binary fails the job. build needed and --output-record give the pipeline a branch and a JSON artifact.
Where did the MCP server go?
Capgo MCP has its own page. The hosted server at https://api.capgo.app/mcp is for account work from chat. npx @capgo/cli@latest mcp is the local server for uploads, doctor, and probe.
Use the CLI today
Add Capgo to your release scripts without waiting on a dashboard session.
Start with the CLI docs, then wire compatibility checks, bundle uploads, and native builds into the workflow your team already uses.