# Nx CLI

**Canonical:** https://apis.io/apis/nx-dev/nx-cli/  
**Provider:** Nx — https://apis.io/providers/nx-dev/  
**Documentation:** https://nx.dev/reference/nx-commands

Nx CLI is one of 10 APIs that [Nx](https://apis.io/providers/nx-dev/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Builds, CLI, Monorepo, and TaskRunner. The published artifact set on APIs.io includes API documentation and a getting-started guide.

The Nx command-line interface — the primary surface for running, caching, and orchestrating tasks across a monorepo. Built in Rust for performance and extensible via TypeScript plugins. Supports `nx run`, `nx affected`, `nx graph`, `nx generate`, `nx migrate`, `nx release`, `nx sync`, and `nx init` to incrementally adopt Nx in existing npm, pnpm, or yarn workspaces. Auto-discovers tasks from `package.json` scripts and from Vite, Webpack, Jest, Vitest, ESLint, Gradle, Maven, .NET, and Go projects.

## Machine-readable artifacts (4)

- **Documentation** — https://nx.dev/reference/nx-commands
- **GettingStarted** — https://nx.dev/getting-started/intro
- **Package** — https://www.npmjs.com/package/nx
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/nx-dev/refs/heads/main/apis.yml

## Other Nx APIs (9)

- [Nx Plugin System](https://apis.io/apis/nx-dev/nx-plugin-system/)
- [Nx Graph and Affected](https://apis.io/apis/nx-dev/nx-graph-and-affected/)
- [Nx Cache](https://apis.io/apis/nx-dev/nx-cache/)
- [Nx Release](https://apis.io/apis/nx-dev/nx-release/)
- [Nx Console](https://apis.io/apis/nx-dev/nx-console/)
- [Nx Cloud Remote Cache](https://apis.io/apis/nx-dev/nx-cloud-remote-cache/)
- [Nx Agents (Distributed Task Execution)](https://apis.io/apis/nx-dev/nx-agents/)
- [Nx Self-Healing CI](https://apis.io/apis/nx-dev/nx-self-healing-ci/)
- [Nx MCP Server](https://apis.io/apis/nx-dev/nx-mcp/)

## Tags

Builds, CLI, Monorepo, TaskRunner

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/nx-dev/nx-cli/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/nx-dev/.
