gandi-cli

📦 Installation

Install gandi-cli globally and verify your setup.

✅ Requirements

ComponentVersion
Node.js≥ 20
npmbundled with Node

📦 Global install

npm install -g @kud/gandi-cli

This 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 doctor

If gandi doctor reports your token info and scopes, you're ready to manage domains and DNS records.

On this page