# Neon Neon CLI Install: `npm i -g neon`. Use this for terminal-first workflows, scripts, and CI/CD automation with `neon`. [Parent index](https://neon.com/docs/llms.txt) - [Neon CLI](https://neon.com/docs/cli.md): The Neon command-line interface: every command, with options and examples - [Neon CLI command: api](https://neon.com/docs/cli/api.md): Call any Neon API route directly as an authenticated passthrough - [Neon CLI command: api-keys](https://neon.com/docs/cli/api-keys.md): Create, list, and revoke Neon API keys - [Neon CLI command: ask](https://neon.com/docs/cli/ask.md): Ask the Neon assistant a question from the terminal - [Neon CLI command: bootstrap](https://neon.com/docs/cli/bootstrap.md): Scaffold a new project from a Neon starter template - [Neon CLI command: branches](https://neon.com/docs/cli/branches.md): List, create, rename, and delete branches; set default; run schema diff - [Neon CLI command: buckets](https://neon.com/docs/cli/buckets.md): Manage branch object-storage buckets and their objects - [Neon CLI command: checkout](https://neon.com/docs/cli/checkout.md): Pin a branch in your local .neon context file - [Neon CLI command: claim](https://neon.com/docs/cli/claim.md): Create and claim a temporary Neon project without an account - [Neon CLI command: completion](https://neon.com/docs/cli/completion.md): Generate shell completion scripts for neon commands and options - [Neon CLI command: config](https://neon.com/docs/cli/config.md): Manage a branch with a neon.ts policy: init, add, status, plan, and apply - [Neon CLI command: connection-string](https://neon.com/docs/cli/connection-string.md): Get Postgres connection strings for branches and databases - [Neon CLI command: credentials](https://neon.com/docs/cli/credentials.md): Issue, list, reveal, rotate, and revoke scoped credentials on a branch - [Neon CLI command: data-api](https://neon.com/docs/cli/data-api.md): Provision and manage the Neon Data API from the CLI - [Neon CLI command: databases](https://neon.com/docs/cli/databases.md): List, create, and delete databases in a Neon project - [Neon CLI command: deploy](https://neon.com/docs/cli/deploy.md): Apply a neon.ts policy to a branch - [Neon CLI command: dev](https://neon.com/docs/cli/dev.md): Run Neon Functions locally with a dev server - [Neon CLI command: diff](https://neon.com/docs/cli/diff.md): Show a git-style schema diff between two branches - [Neon CLI command: docs](https://neon.com/docs/cli/docs.md): Search the Neon docs, guides, and more from the terminal - [Neon CLI command: env](https://neon.com/docs/cli/env.md): Manage a branch's Neon environment variables locally - [Neon CLI command: feedback](https://neon.com/docs/cli/feedback.md): Send feedback about the Neon CLI and docs to the Neon team - [Neon CLI command: functions](https://neon.com/docs/cli/functions.md): Create, deploy, list, inspect, and delete Neon Functions, and manage their custom domains - [Neon CLI command: git](https://neon.com/docs/cli/git.md): Keep your Neon branch in sync with the git branch you have checked out - [Neon CLI command: init](https://neon.com/docs/cli/init.md): Set up the current directory for Neon with agent tooling, a linked project, and an optional neon.ts config - [Neon CLI command: inspect](https://neon.com/docs/cli/inspect.md): Run diagnostic queries against a branch's Postgres to check its health and configuration - [Neon CLI command: ip-allow](https://neon.com/docs/cli/ip-allow.md): Manage the IP allowlist: list, add, remove, and reset allowed IPs - [Neon CLI command: link](https://neon.com/docs/cli/link.md): Link a directory to a Neon project and write a `.neon` context file - [Neon CLI command: login](https://neon.com/docs/cli/login.md): Authenticate to Neon via browser or API key and manage credentials - [Neon CLI command: logs](https://neon.com/docs/cli/logs.md): Query the logs a branch's services emit - [Neon CLI command: mcp](https://neon.com/docs/cli/mcp.md): Install the Neon MCP Server into your coding agents - [Neon CLI command: me](https://neon.com/docs/cli/me.md): View the authenticated user and login details - [Neon CLI command: neon-auth](https://neon.com/docs/cli/neon-auth.md): Manage Managed Better Auth from the CLI - [Neon CLI command: open](https://neon.com/docs/cli/open.md): Open the linked project in the Neon Console in your browser - [Neon CLI command: operations](https://neon.com/docs/cli/operations.md): List and manage long-running operations for a Neon project - [Neon CLI command: orgs](https://neon.com/docs/cli/orgs.md): List the Neon organizations you belong to - [Neon CLI command: plugins](https://neon.com/docs/cli/plugins.md): Install the Neon plugin into coding agents that support plugin marketplaces - [Neon CLI command: profile](https://neon.com/docs/cli/profile.md): Manage named sets of Neon credentials - [Neon CLI command: projects](https://neon.com/docs/cli/projects.md): List, create, update, delete, recover, and get Neon projects - [Neon CLI command: psql](https://neon.com/docs/cli/psql.md): Connect to a Neon database via psql - [Neon CLI command: realtime](https://neon.com/docs/cli/realtime.md): Manage Neon Realtime and subscribe to live queries from the CLI - [Neon CLI command: roles](https://neon.com/docs/cli/roles.md): List, create, and delete database roles in a Neon project - [Neon CLI command: set-context](https://neon.com/docs/cli/set-context.md): Set default project context for CLI sessions to avoid repeating project ID - [Neon CLI command: skills](https://neon.com/docs/cli/skills.md): Install, update, and check Neon agent skills in your coding agents - [Neon CLI command: snapshots](https://neon.com/docs/cli/snapshots.md): Create, list, restore, and schedule branch snapshots from the terminal - [Neon CLI command: status](https://neon.com/docs/cli/status.md): Show the branch's live Neon state - [Neon CLI command: triggers](https://neon.com/docs/cli/triggers.md): Create and manage function triggers that invoke a Neon Function on a cron schedule or when an object is created - [Neon CLI command: vpc](https://neon.com/docs/cli/vpc.md): Manage Private Networking VPC endpoints and project-level restrictions - [Neon CLI quickstart](https://neon.com/docs/cli/quickstart.md): Get set up with the Neon CLI in just a few steps - [Neon CLI: Install and connect](https://neon.com/docs/cli/install.md): Install the Neon CLI and connect with web auth or API key