# @nvidia-elements/cli NVIDIA Design System and UI Agent Harness for AI/ML Factories, Robotics, and Autonomous Vehicles. The **@nvidia-elements/cli** is a dual-mode command-line tool for the Elements Design System. It provides interactive CLI commands and a Model Context Protocol (MCP) server for AI assistant integration. ## Purpose This package serves two primary modes: 1. **Interactive CLI (`nve` command)** - Command-line interface with interactive prompts for: - Component API discovery and search - Example template browsing and searching - Template linting and validation - Project scaffolding and health checks - Changelog and version information - Design token access - Icon name lookup - Bundled agent skill access 2. **MCP Server (`nve mcp` command)** - Model Context Protocol server that: - Exposes all CLI tools to AI assistants (Claude, Cursor, etc.) - Provides context-specific prompts for common tasks - Enables AI-assisted development with Elements components - Integrates Elements knowledge directly into AI workflows ## Getting Started The best way to get started is to run the install script. ```shell curl -fsSL https://nvidia.github.io/elements/install.sh | bash ``` On Windows, run the PowerShell installer. ```powershell irm https://nvidia.github.io/elements/install.ps1 | iex ``` For agents and CI, invoke the canonical path directly: `$HOME/.nve/bin/nve` on macOS and Linux, or `$env:LOCALAPPDATA\nve\bin\nve.exe` on Windows. Alternatively you can install with [Node.js](https://nodejs.org/) and npm. ```shell npm install -g @nvidia-elements/cli ``` ## Usage | Command | Description | | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `nve` | Show About and help output. | | `nve api.list [format]` | Get a list of all available Elements (`nve-*`) APIs and components. | | `nve api.get [--format ]` | Get documentation for one to five known components or attributes (`nve-*`). | | `nve api.template.validate