Discover projects
Review which Neon projects are available before selecting one for further CLI work.
Neon · Command
neonctl projects is the Neon CLI command group for managing projects. Use neonctl projects list to view projects, with related subcommands for creating, updating, and deleting them.
The command group manages Neon projects from the terminal. Use the list subcommand to display projects available to the authenticated account; other project lifecycle operations include creating, updating, and deleting projects.
neonctl projects <subcommand>For list, the command displays the authenticated account's Neon projects in the terminal. The page does not specify a formal return type.
list subcommand to display the projects associated with the authenticated Neon account.neon, but neonctl is an equivalent alias.create subcommand.neon as the CLI name, while neonctl remains an alias, so both command forms work.neonctl projects listLists the projects available to the authenticated Neon account.
Review which Neon projects are available before selecting one for further CLI work.
Provision a new Neon project from a terminal or automation workflow.
Perform project lifecycle administration from the command line.
Use neonctl projects list to display the projects available to the authenticated account. The current CLI documentation shows this operation as neon projects list, and documents neonctl as an alias.
Follow-up: How would you create a project? Use neonctl projects create; the create operation provisions a project with a default database and branch.
Run neonctl projects create. The command creates a Neon project with a default database and branch, and the CLI can return a connection string for the new project.
Follow-up: How can a project be assigned to a particular organization? Supply the optional org_id parameter when creating it.
Project management is grouped under the projects command. The documented project operations include listing projects and CRUD operations such as creating, updating, and deleting them.
Follow-up: What should be used when only a branch must be removed? Use the branches command rather than deleting the whole project.
neon projects listneon projects createneon projects updateneon projects deleteneon branches delete