Skip to content
masterclass Buddy

Neon · Command

neonctl connection-string

neon connection-string retrieves a PostgreSQL connection string for a Neon project. Provide the project ID to target the correct project.

Last updated

Syntax

neon connection-string --project-id PROJECT_ID

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • neon projects
  • Neon project
  • Postgres connection string

Source: Neon CLI quickstart. Checked 2026-11-03.