Official command-line tool for managing Neon Serverless Postgres databases. Version 2.22.0, released March 2026. Requires Node.js >=18. Provides project, branch, database, role, and IP allow management, plus connection string retrieval. Supports authentication via browser OAuth or API key. Installable via npm, Homebrew, or binary downloads. Not to be confused with neon.js SDK — this is a CLI binary, not a library for programmatic use.
npm install neonctlVerified import paths — ran on the pinned version, not inferred.
Shows authentication (browser or API key), project creation, branch listing, and connection string retrieval.
Use --org-slug <slug> instead of --org-id <id>.
Upgrade Node.js to v18 or higher.
Upgrade to v2.20.0 or later, or ensure you are using the correct org slug.
Use neonctl auth with browser OAuth for shared machines, or securely pass via environment variable.
Run 'npm i -g neonctl' or use 'npx neonctl' instead.
Upgrade to v2.20.0 or later, or provide the correct --org-slug.
Run 'neonctl auth' to log in with browser, or pass your API key: 'neonctl projects list --api-key <key>'.
Retry after checking network connectivity. If issue persists, contact Neon support.
No dependency data recorded yet.