Use Neon as your dev environment for AWS RDS: accelerate your workflow while reducing costs
Command line & SDKs/CLI Reference

Neon CLI commands — orgs

Use the Neon CLI to manage Neon organizations directly from the terminal

Before you begin

  • Before running the orgs command, ensure that you have installed the Neon CLI.
  • If you have not authenticated with the neon auth command, running a Neon CLI command automatically launches the Neon CLI browser authentication process. Alternatively, you can specify a Neon API key using the --api-key option when running a command. See Connect.

The orgs command

Use this command to manage the organizations you belong to within the Neon CLI.


neon orgs <sub-command> [options]



This sub-command lists all organizations associated with the authenticated Neon CLI user.

neon orgs list


Only global options apply.


Here is the default output in table format.

neon orgs list
 Id Name
 org-xxxxxxxx-xxxxxxxx Example Org

This next example shows neon orgs list with --output json, which also shows the created_at and updated_at timestamps not shown with the default table output format.

neon orgs list -o json

    "id": "org-xxxxxxxx-xxxxxxxx",
    "name": "Example Org",
    "handle": "example-org-xxxxxxxx",
    "created_at": "2024-04-22T16:50:41Z",
    "updated_at": "2024-06-28T15:38:26Z"

Need help?

Join our Discord Server to ask questions or see what others are doing with Neon. Users on paid plans can open a support ticket from the console. For more detail, see Getting Support.

Last updated on

Edit this page
Was this page helpful?