About neon-cli
Neon CLI is a command-line tool for developers managing Neon projects and branches. It provides commands to list resources, create branches, retrieve connection strings, and authenticate with Neon.
Key features
- 01List Neon projects
- 02List project branches
- 03Create a branch
- 04Retrieve a connection string
- 05Authenticate with Neon
Use cases
- 01Inspect projects available in Neon
- 02View branches for a selected project
- 03Create a branch for project work
- 04Obtain a project's database connection string
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ timschoch/ skilly --skill neon-cliAfter installing, type/neon-cliin Claude Code to confirm it loaded.
Details
From the project READMENeon CLI
Neon has a first-class CLI: neonctl. Use it before writing API calls or clicking the console.
- List projects:
neonctl projects list - List branches:
neonctl branches list --project-id <id> - Create a branch:
neonctl branches create --project-id <id> --name <name> - Get a connection string:
neonctl connection-string <branch> --project-id <id> - Discover more:
neonctl --help
Auth: neonctl auth once per machine, or NEON_API_KEY in env.
Comments
Markdown supported