Nexus CLI掌控您的AI平台
世界级命令行工具,用于构建垂直AI应用。秒级项目脚手架、管理43个微服务、开发插件,并通过一条命令部署到生产环境。
Install Nexus CLI globally
npm install -g @adverant/nexus-forge快速入门
4个简单步骤开始使用Nexus CLI
安装CLI
通过NPM全局安装
npm install -g @adverant/nexus-forge创建项目
搭建您的垂直应用脚手架
forge create my-app选择模板
选择行业模板
forge create app --template healthcare开始构建
开始开发
cd my-app && npm run dev强大功能
构建、部署和扩展垂直AI应用所需的一切
服务发现
所有43个Nexus微服务的自动发现和管理,具备健康监控和状态检查
插件开发
完整的插件SDK,包含脚手架、本地测试和市场发布工具
行业模板
医疗、法律、房产管理等行业的预构建模板,附带示例查询
实时流
WebSocket支持,用于平台服务的实时进度监控和实时更新
Docker编排
用于本地开发和生产部署的完整Docker Compose管理
Claude MCP集成
通过Model Context Protocol与Claude Desktop无缝集成,实现AI驱动的开发
命令参考
可用命令及其用法的完整列表
认证命令
nexus auth loginAuthenticate with Nexus platform
nexus auth registerCreate new account
nexus auth logoutSign out of current session
nexus auth whoamiDisplay current user info
组织命令
nexus org listList all organizations
nexus org create <name>Create new organization
nexus org switch <org-id>Switch active organization
nexus org infoShow current organization details
服务命令
nexus services listList all available services
nexus services statusCheck 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 portsList 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 listList 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 --versionShow CLI version
会话与工作区
nexus session save <name>Save current session
nexus session load <name>Load saved session
nexus session listList all sessions
nexus workspace initInitialize workspace
nexus workspace validateValidate workspace config
行业模板
使用常见行业的预构建模板快速启动您的项目
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 healthcareLegal 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 legalProperty 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 propertyBlank 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-forgeOutput:
✓ 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资源与社区
获取帮助、贡献和保持更新
