browse
neonctl/

Neon CLI

Neon

CLI for managing Neon serverless Postgres databases, branches, and connection strings.

Developer PlatformsJSON
01Agent Notes

neonctl manages Neon serverless Postgres. `neonctl branches create/list`, `neonctl databases create`, `neonctl connection-string` for getting connection strings. Use `-o json` for structured output. Neon uses branch-based Postgres development.


02Global Flags
FlagTypeDescription
--output/-oenum [json, table]Output format
--project-idstringNeon project ID to target

03Authentication
Methods
access-tokenoauth
Env vars
NEON_API_KEY
Setupneonctl auth

04Install
npm install -g neonctl
Download binary →

05Capabilities
Reference
binaryneonctl
checkneonctl --version
authaccess-token, oauth
formatstable
json flag-o json
version2.21.2