Skip to content

CLI Overview ​

The Nexus CLI provides commands for configuration, authentication, and running Nexus locally.

Installation ​

bash
npm install -g @nexus/cli

Or use npx without installing:

bash
npx @nexus/cli <command>

Commands ​

CommandDescription
nexus initConfigure AI clients automatically
nexus authAuthentication management
nexus docsSearch documentation from CLI
nexus serversBrowse MCP server registry
nexus skillsBrowse skill templates
nexus serveRun Nexus locally

Quick Reference ​

bash
# Configure your AI clients
nexus init

# Authenticate for memory features
nexus auth login

# Search documentation
nexus docs search react "useEffect hooks"

# Find MCP servers
nexus servers search database

# Run Nexus locally
nexus serve

Global Options ​

OptionDescription
--help, -hShow help
--version, -vShow version
--verboseVerbose output

Released under the MIT License.