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.