# Neon CLI

> Run Neon operations with the neonctl CLI — list/create projects and branches, get connection strings. Use when a task needs a Neon project, branch, or connection string. Not for writing SQL or app code.

- Skill: `timschoch/neon-cli` (Agent Skill)
- Install (CLI): `npx skillmds@latest add timschoch/neon-cli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/timschoch/neon-cli/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: timschoch (https://skillmd.com/u/timschoch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/timschoch/neon-cli

---


# Neon 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.

