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.0asc --help# Shows all available commands
Authentication
Log in with your API key:
Terminalbash
# Interactive loginasc auth login# Or provide the key directlyasc auth login --key asc_live_xxxxxxxxxx
Secure Storage
Your API key is stored securely in your system keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service).
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 keyasc projects listasc 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 credentialsasc auth logout# Uninstall the CLInpm uninstall -g @appstorecopilot/cli