← 返回
开发者工具
中文
Neon
Manage Neon Serverless Postgres via CLI - projects, branches, databases, roles, endpoints, connection strings. Use when user mentions 'neon', 'neonctl', 'ser...
通过 CLI 管理 Neon Serverless Postgres,包括项目、分支、数据库、角色、端点和连接字符串。当用户提到 'neon'、'neonctl' 等关键词时使用。
melvynx
开发者工具
clawhub
v1.0.0 1 版本 100000 Key: 无需
#latest
概述
neon
Setup
npm i -g neonctl
Verify installation:
neonctl --version
Always use --output json flag when calling commands programmatically.
Authentication
neonctl auth
Resources
Projects
| Command | Description |
|---|
| --------- | ------------- |
neonctl projects list | List all projects |
neonctl projects create --name | Create a new project |
neonctl projects delete | Delete a project |
neonctl projects get | Get project details |
Branches
| Command | Description |
|---|
| --------- | ------------- |
neonctl branches list --project-id | List all branches |
neonctl branches create --project-id --name | Create a branch |
neonctl branches delete --project-id | Delete a branch |
neonctl branches get --project-id | Get branch details |
neonctl branches reset --project-id --parent | Reset branch to parent |
Databases
| Command | Description |
|---|
| --------- | ------------- |
neonctl databases list --project-id --branch-id | List databases |
neonctl databases create --project-id --branch-id --name | Create a database |
neonctl databases delete --project-id --branch-id | Delete a database |
Roles
| Command | Description |
|---|
| --------- | ------------- |
neonctl roles list --project-id | List all roles |
neonctl roles create --project-id --branch-id --name | Create a role |
neonctl roles delete --project-id --branch-id | Delete a role |
Endpoints
| Command | Description |
|---|
| --------- | ------------- |
neonctl endpoints list --project-id | List all endpoints |
Connection Strings
| Command | Description |
|---|
| --------- | ------------- |
neonctl connection-string --project-id | Get default connection string |
neonctl connection-string --project-id --branch-id | Get connection string for a branch |
neonctl connection-string --project-id --branch-id --database-name --role-name | Get connection string with specific db and role |
Context
| Command | Description |
|---|
| --------- | ------------- |
neonctl set-context --project-id | Set project context to avoid passing --project-id |
Global Flags
| Flag | Description |
|---|
| ------ | ------------- |
--output json | Output result as JSON |
--project-id | Specify project ID |
--api-key | Use API key for authentication |
--no-color | Disable colored output |
版本历史
共 1 个版本
-
v1.0.0
当前
2026-03-29 22:48 安全 安全
安全检测
腾讯云安全 (Sanbu)
安全,无风险
查看报告
🔗 相关推荐
developer-tools
steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921
📥 185,816
developer-tools
larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68
📥 180,307
ai-intelligence
melvynx
通过CLI管理Exa AI,支持搜索、内容获取、AI回答及上下文功能。当用户提及'exa'、网页搜索、相似页面或AI回答时使用。
★ 0
📥 675