--- title: Installation description: Install the App Store Connect CLI on macOS, Linux, or from source --- import { Card, CardGroup, CodeGroup, Note, Step, Steps, Tab, Tabs, Warning } from '@components/mdx'; The App Store Connect CLI (`asc`) is distributed as a single binary with no runtime dependencies. Choose the installation method that works best for your environment. ## Requirements * **Operating System**: macOS 13 Ventura or later for releases built with Go 1.27, or Linux * **Architecture**: x86\_64 (amd64) or ARM64 (arm64/aarch64) * **Go**: Not required for released binaries. Source builds use the version declared by `go.mod`. Go 1.27 raises the minimum macOS version to 13. If you use an older Mac, retain an older compatible release or upgrade macOS before updating `asc`. The installer checks the selected release, so it continues to accept compatible releases published before this transition. ## Homebrew (recommended) The easiest way to install `asc` on macOS or Linux: ```bash brew install asc ``` Homebrew automatically manages updates. Run `brew upgrade asc` to get the latest version. ### Verify installation ```bash asc --version ``` Expected output: ``` v1.2.3 (commit: abc1234, date: 2026-03-04) ``` ## Install script For automated setups or environments without Homebrew: ```bash title="macOS/Linux" curl -fsSL https://asccli.sh/install | bash ``` ```bash title="Custom install directory" INSTALL_DIR="$HOME/bin" curl -fsSL https://asccli.sh/install | bash ``` ### What the script does Automatically identifies your OS (macOS/Linux) and architecture (amd64/arm64). On Macs older than macOS 13, checks the selected release’s Go requirement and stops before downloading an incompatible binary. Fetches the appropriate binary from [GitHub Releases](https://github.com/rorkai/App-Store-Connect-CLI/releases/latest) Validates the downloaded binary against the release SHA-256 checksums. The script aborts if verification cannot run (missing `checksums.txt`, missing `shasum`/`sha256sum`, or an unlisted asset); set `ASC_INSTALL_INSECURE=1` to explicitly skip verification in emergencies. A checksum mismatch always aborts. Installs to `~/.local/bin` by default (or `/usr/local/bin` if `$HOME` is not set) The install script may prompt for `sudo` if the target directory requires elevated permissions. ### Add to PATH If `~/.local/bin` is not in your `PATH`, add it to your shell profile: ```bash title="bash (~/.bashrc or ~/.bash_profile)" export PATH="$HOME/.local/bin:$PATH" ``` ```bash title="zsh (~/.zshrc)" export PATH="$HOME/.local/bin:$PATH" ``` ```bash title="fish (~/.config/fish/config.fish)" set -gx PATH $HOME/.local/bin $PATH ``` Reload your shell: ```bash source ~/.bashrc # or ~/.zshrc, etc. ``` ## Manual download For maximum control, download binaries directly from GitHub: Go to [github.com/rorkai/App-Store-Connect-CLI/releases/latest](https://github.com/rorkai/App-Store-Connect-CLI/releases/latest) Choose the appropriate file: * `asc_v{version}_macOS_amd64` (Intel Mac) * `asc_v{version}_macOS_arm64` (Apple Silicon) * `asc_v{version}_linux_amd64` (Linux x86\_64) * `asc_v{version}_linux_arm64` (Linux ARM64) ```bash chmod +x asc_v* ``` ```bash mv asc_v* /usr/local/bin/asc ``` ## Build from source For contributors or custom builds: ```bash git clone https://github.com/rorkai/App-Store-Connect-CLI.git cd App-Store-Connect-CLI ``` ```bash make build ``` This creates `./asc` in the project root. ```bash make install ``` This installs to `$GOPATH/bin` (typically `~/go/bin`). See [CONTRIBUTING.md](https://github.com/rorkai/App-Store-Connect-CLI/blob/main/CONTRIBUTING.md) for development setup, testing, and PR guidelines. ### Development tools Install optional tooling for linting and formatting: ```bash make tools # installs gofumpt + golangci-lint make lint # run linter make format # format code ``` ### Run tests ```bash ASC_BYPASS_KEYCHAIN=1 make test ``` Always use `ASC_BYPASS_KEYCHAIN=1` when running tests to avoid macOS keychain prompts and environment bleed-through. ## Agent skills `asc` can install the App Store Connect workflow skills globally so your agent can use them across projects: ```bash asc install-skills ``` `asc install-skills` checks out reviewed commit `f52c4f04323bb2dfb21ca8be82e6494e9cd0b4d8` and copies its 25 skills directly into the standard global agent-skills directory. It verifies the complete pack and every installed file before succeeding, preserves unrelated skills and unrelated lock entries, and pins the 25 ASC lock entries to the same reviewed commit so external checks cannot update them from a mutable branch. It rolls back the pack if any replacement fails. Only `git` is required; the command does not execute Node.js, `npx`, npm packages, or repository scripts. Upgrading the skill pack is an explicit change to the pinned commit and the reviewed 25-skill manifest in `internal/cli/install/install.go`. ## Shell completion `asc` supports shell completion for bash, zsh, and fish. ```bash title="bash" asc completion --shell bash > /usr/local/etc/bash_completion.d/asc ``` ```bash title="zsh" asc completion --shell zsh > "${fpath[1]}/_asc" ``` ```bash title="fish" asc completion --shell fish > ~/.config/fish/completions/asc.fish ``` Reload your shell to activate completions. ## Upgrading ```bash brew upgrade asc ``` Re-run the install script to get the latest version: ```bash curl -fsSL https://asccli.sh/install | bash ``` Download the latest binary from [releases](https://github.com/rorkai/App-Store-Connect-CLI/releases/latest) and replace your existing binary. ```bash git pull make build make install ``` ## Uninstalling ```bash brew uninstall asc ``` Remove the binary and config: ```bash rm /usr/local/bin/asc # or ~/.local/bin/asc rm -rf ~/.asc # config and credentials ``` Optionally remove keychain entries: ```bash asc auth logout --all --confirm # before removing binary ``` ## Troubleshooting ### Binary not found If `asc` is not in your `PATH`: ```bash which asc ``` If this returns nothing, check your installation directory and add it to `PATH`. ### Permission denied If you get a "permission denied" error: ```bash chmod +x /path/to/asc ``` ### macOS Gatekeeper warning On macOS, you may see a security warning on first run. Allow the binary: ```bash xattr -d com.apple.quarantine /usr/local/bin/asc ``` Or go to **System Preferences → Security & Privacy → General** and click "Allow Anyway". ## Next steps Configure your App Store Connect API credentials Run your first commands and explore workflows