Neon CLI
Manage Neon projects, branches, databases, roles, and connection strings.
Installation
npm i -g neonctl
neonctl auth
Key Commands
neonctl projects list
neonctl branches list --project-id <id>
neonctl branches create --project-id <id> --name feature-branch
neonctl databases list --branch <branch-id>
neonctl connection-string --project-id <id>
neonctl roles list --project-id <id>
Agent-Friendly Features
--output jsonfor structured output- API key auth via
NEON_API_KEY - Database branching for preview environments