CLI Installation

Install the AppStore Copilot CLI for powerful command-line automation and CI/CD integration.

Requirements

  • Node.js 18 or later
  • npm, yarn, or pnpm
  • An AppStore Copilot API key

Installation

npm install -g @appstorecopilot/cli

Verify Installation

After installation, verify the CLI is working:

Terminalbash
asc --version
# Output: @appstorecopilot/cli v1.0.0
asc --help
# Shows all available commands

Authentication

Log in with your API key:

Terminalbash
# Interactive login
asc auth login
# Or provide the key directly
asc auth login --key asc_live_xxxxxxxxxx

CI/CD Usage

For CI/CD environments, use the ASC_API_KEY environment variable:

Terminalbash
export ASC_API_KEY="asc_live_xxxxxxxxxx"
# All commands will use this key
asc projects list
asc translate --from en-US --to es-ES

Updating

Update to the latest version:

Terminalbash
npm update -g @appstorecopilot/cli

Uninstalling

To uninstall the CLI:

Terminalbash
# Remove saved credentials
asc auth logout
# Uninstall the CLI
npm uninstall -g @appstorecopilot/cli