Installation
Four ways in — npm, npx, Homebrew, or a standalone binary (no Node needed). The npm and npx paths require Node.js ≥ 20; pick whichever fits your setup.
npm (recommended)
sh
npm install -g @gmc-cli/cli
gmc --versionOr run it without installing:
sh
npx @gmc-cli/cli doctorHomebrew
sh
brew install yasserstudio/tap/gmcThe formula installs the matching standalone binary for your platform; Node.js is not required.
Standalone binary
Each release attaches prebuilt, self-contained binaries (no Node required) to its GitHub release. Choose the asset that matches your machine:
| Platform | Asset |
|---|---|
| macOS, Apple silicon | gmc-darwin-arm64 |
| macOS, Intel | gmc-darwin-x64 |
| Linux, x86-64 | gmc-linux-x64 |
| Linux, ARM64 | gmc-linux-arm64 |
For example, on an Apple-silicon Mac:
sh
chmod +x gmc-darwin-arm64
sudo mv gmc-darwin-arm64 /usr/local/bin/gmc
gmc --versionIn CI
Don't install — use npx @gmc-cli/cli directly, or the GitHub Action / GitLab recipe.
Verify and continue
Run gmc doctor to verify auth and Merchant API access, then see Getting started.