Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/nrwl/nx/llms.txt

Use this file to discover all available pages before exploring further.

Nx is a build system for monorepos. It helps you develop faster and keep CI fast as your codebase scales — from a single project to thousands of packages across any language or framework.

Get started

Introduction

Learn what Nx is and how it solves monorepo scaling challenges.

Installation

Install Nx and set up your first workspace in minutes.

Quickstart

Build your first Nx workspace and run your first cached task.

Add to existing project

Adopt Nx incrementally in any npm, pnpm, or yarn workspace.

Core capabilities

Run tasks

Orchestrate builds, tests, and lints across your entire monorepo.

Cache task results

Never rebuild what hasn’t changed. Local and remote caching built in.

Affected builds

Only run tasks for projects affected by your code changes.

CI orchestration

Distribute tasks across machines and slash your CI pipeline time.

Self-healing CI

AI agents that detect failures, find root causes, and fix broken PRs.

Generate code

Scaffold projects, libraries, and components with powerful generators.

Explore Nx

Core concepts

Understand how Nx’s task graph, caching, and plugin system work.

Extend Nx

Build your own generators, executors, and plugins.

CLI reference

Full reference for every Nx command and flag.

Configuration

Configure workspaces, projects, and task pipelines.

Plugin index

Explore official Nx plugins for React, Angular, Node, and more.

AI setup

Configure Nx for AI-native development with MCP and agent tools.
Nx works with any language or framework. Official plugins cover React, Angular, Node.js, Next.js, Vite, Webpack, Jest, Gradle, and many more. See the Plugin Index to find the right plugin for your stack.