生产就绪 · 60+命令 · 54K+行代码

Nexus CLI掌控您的AI平台

世界级命令行工具,用于构建垂直AI应用。秒级项目脚手架、管理43个微服务、开发插件,并通过一条命令部署到生产环境。

Install Nexus CLI globally

npm install -g @adverant/nexus-forge

快速入门

4个简单步骤开始使用Nexus CLI

1

安装CLI

通过NPM全局安装

npm install -g @adverant/nexus-forge
2

创建项目

搭建您的垂直应用脚手架

forge create my-app
3

选择模板

选择行业模板

forge create app --template healthcare
4

开始构建

开始开发

cd my-app && npm run dev

强大功能

构建、部署和扩展垂直AI应用所需的一切

服务发现

所有43个Nexus微服务的自动发现和管理,具备健康监控和状态检查

插件开发

完整的插件SDK,包含脚手架、本地测试和市场发布工具

行业模板

医疗、法律、房产管理等行业的预构建模板,附带示例查询

实时流

WebSocket支持,用于平台服务的实时进度监控和实时更新

Docker编排

用于本地开发和生产部署的完整Docker Compose管理

Claude MCP集成

通过Model Context Protocol与Claude Desktop无缝集成,实现AI驱动的开发

命令参考

可用命令及其用法的完整列表

认证命令

nexus auth login

Authenticate with Nexus platform

nexus auth register

Create new account

nexus auth logout

Sign out of current session

nexus auth whoami

Display current user info

组织命令

nexus org list

List all organizations

nexus org create <name>

Create new organization

nexus org switch <org-id>

Switch active organization

nexus org info

Show current organization details

服务命令

nexus services list

List all available services

nexus services status

Check health status of all services

nexus services start <name>

Start specific service

nexus services stop <name>

Stop running service

nexus services restart <name>

Restart service

nexus services logs <name>

View service logs

nexus services health <name>

Check specific service health

nexus services info <name>

Show service details

nexus services ports

List all service ports

插件命令

nexus plugin init <name>

Initialize new plugin project

nexus plugin install <name>

Install plugin from marketplace

nexus plugin uninstall <name>

Remove installed plugin

nexus plugin enable <name>

Enable plugin

nexus plugin disable <name>

Disable plugin

nexus plugin list

List all plugins

nexus plugin info <name>

Show plugin details

Forge命令

forge create <project-name>

Create new vertical project

forge create <name> --template <type>

Use industry template

forge config get <key>

Get configuration value

forge config set <key> <value>

Set configuration value

forge --version

Show CLI version

会话与工作区

nexus session save <name>

Save current session

nexus session load <name>

Load saved session

nexus session list

List all sessions

nexus workspace init

Initialize workspace

nexus workspace validate

Validate workspace config

行业模板

使用常见行业的预构建模板快速启动您的项目

heart health

Healthcare CRM

Clinical trial optimization, patient data management, and regulatory compliance

Use Cases

  • Clinical trials management
  • Patient record processing
  • Medical compliance tracking
  • Healthcare analytics

Create Project

forge create healthcare-crm --template healthcare
gavel legal

Legal Research

Case management, document analysis, and legal research automation

Use Cases

  • Case law research
  • Document discovery
  • Contract analysis
  • Legal brief generation

Create Project

forge create legal-research --template legal
building office

Property Management

Tenant management, maintenance tracking, and property analytics

Use Cases

  • Tenant onboarding
  • Maintenance requests
  • Lease management
  • Property analytics

Create Project

forge create property-mgmt --template property
lightning

Blank Template

Start from scratch with full flexibility and customization

Use Cases

  • Custom verticals
  • Experimental projects
  • Unique workflows
  • Learning & exploration

Create Project

forge create my-vertical --template blank

安装

在您的系统上安装Nexus CLI的多种方式

推荐

NPM全局安装

通过NPM全局安装以获得系统级访问。需要Node.js 18+和npm 9+。

npm install -g @adverant/nexus-forge

Output:

✓ Installed @adverant/nexus-forge@3.0.0 ✓ Added 832 packages ✓ nexus command available globally

从源码安装(开发)

克隆仓库并在本地构建,用于开发或贡献。

git clone https://github.com/adverant/nexus-cli.git
cd nexus-cli
npm install
npm link

可下载二进制文件

通过GitHub Releases提供适用于macOS、Linux和Windows的预构建二进制文件。

CLI与桌面IDE对比

为您的工作流选择合适的工具

Nexus CLI

用于自动化、脚本编写和CI/CD工作流的命令行工具

CI/CD流水线集成
远程服务器管理
自动化与脚本
项目脚手架
安装CLI

桌面IDE

带有Monaco Editor和GUI工具的可视化开发环境

可视化代码编辑器
GUI偏好设置
Git集成
MCP服务器管理
了解桌面IDE

资源与社区

获取帮助、贡献和保持更新

GitHub仓库

查看源代码、报告问题并为项目做贡献

在GitHub上查看

完整文档

完整的API参考、指南和示例

阅读文档

社区支持

加入Discord,在Stack Overflow上提问

获取支持

今天就开始构建您的垂直应用

安装Nexus CLI,几分钟内搭建您的第一个AI驱动垂直应用脚手架