📦 Installation
Install gandi-cli globally and verify your setup.
✅ Requirements
| Component | Version |
|---|---|
| Node.js | ≥ 20 |
| npm | bundled with Node |
📦 Global install
npm install -g @kud/gandi-cliThis adds the gandi command to your PATH:
gandi --help🔐 Authenticate
gandi-cli needs a Gandi Personal Access Token (PAT) to talk to the API. Export it before running any command:
export GANDI_API_KEY="your-token-here"See Authentication for how to create a token with the right scopes and how to store it in a config file instead.
🩺 Verify
Confirm the token works and see which commands are unlocked:
gandi doctorIf gandi doctor reports your token info and scopes, you're ready to
manage domains and
DNS records.