# Nx ## Docs - [How caching works](https://mintlify.wiki/nrwl/nx/concepts/how-caching-works.md): Learn how Nx computation hashing enables powerful caching, including what factors determine cache validity and how local and remote caches work together. - [Inferred tasks](https://mintlify.wiki/nrwl/nx/concepts/inferred-tasks.md): Learn how Nx plugins automatically infer tasks from tool configuration files, enabling caching, task dependencies, and optimized execution without manual setup. - [Mental model](https://mintlify.wiki/nrwl/nx/concepts/mental-model.md): Understand how Nx works with project graphs, task graphs, affected commands, and caching to efficiently manage your monorepo development workflow. - [Nx plugins](https://mintlify.wiki/nrwl/nx/concepts/nx-plugins.md): Learn what Nx plugins are, how they extend Nx with generators, executors, and project graph inference, and how to install and use them. - [Project graph](https://mintlify.wiki/nrwl/nx/concepts/project-graph.md): Learn how Nx builds and uses the project graph to analyze dependencies, power affected detection, and determine task execution order. - [Task pipeline](https://mintlify.wiki/nrwl/nx/concepts/task-pipeline.md): Learn how Nx manages task dependencies and execution order in monorepo workspaces, ensuring proper build sequences for interconnected projects. - [Create an Nx Plugin](https://mintlify.wiki/nrwl/nx/extending-nx/create-plugin.md): Build a publishable Nx plugin that integrates a tool or framework, infers tasks from config files, and can be shared across repositories. - [Local Executors](https://mintlify.wiki/nrwl/nx/extending-nx/local-executors.md): Write custom Nx executors to standardize build, test, and deployment scripts with schema validation, caching support, and --help output. - [Local Generators](https://mintlify.wiki/nrwl/nx/extending-nx/local-generators.md): Create and run custom Nx generators inside your workspace to automate code scaffolding, enforce project structure, and standardize development workflows. - [Extending Nx](https://mintlify.wiki/nrwl/nx/extending-nx/overview.md): Learn how to extend Nx with local generators, local executors, and publishable plugins to enforce best practices and integrate tools across your organization. - [Project Graph Plugins](https://mintlify.wiki/nrwl/nx/extending-nx/project-graph-plugins.md): Extend the Nx project graph by adding custom project nodes and dependencies using the createNodesV2 and createDependencies plugin APIs. - [Affected Builds](https://mintlify.wiki/nrwl/nx/features/affected-builds.md): Run tasks only for projects affected by a code change. Nx uses the project graph and git history to determine the minimal set of work required. - [Cache Task Results](https://mintlify.wiki/nrwl/nx/features/cache-task-results.md): Avoid rebuilding the same code twice with Nx's computation cache. Cache task results locally and share them across your team with remote caching. - [CI Orchestration](https://mintlify.wiki/nrwl/nx/features/ci-orchestration.md): Distribute task execution across multiple CI machines with Nx Agents. Combine affected detection, remote caching, and dynamic agent allocation for fast, scalable CI. - [Enforce Module Boundaries](https://mintlify.wiki/nrwl/nx/features/enforce-module-boundaries.md): Use tags and dependency constraints to enforce architectural boundaries between projects in your Nx monorepo, preventing unwanted cross-project imports. - [Generate Code](https://mintlify.wiki/nrwl/nx/features/generate-code.md): Use Nx generators to scaffold new projects, add features to existing ones, and automate repetitive tasks consistently across your monorepo. - [Release Management](https://mintlify.wiki/nrwl/nx/features/release-management.md): Use nx release to version projects, generate changelogs from commits, and publish to npm or other registries — with support for independent versioning and release groups. - [Run Tasks](https://mintlify.wiki/nrwl/nx/features/run-tasks.md): Run tasks for single or multiple projects in parallel, define task pipelines, and control execution order across your Nx monorepo. - [Self-Healing CI](https://mintlify.wiki/nrwl/nx/features/self-healing-ci.md): Nx Cloud Self-Healing CI automatically detects CI failures, analyzes the root cause using AI, and proposes or applies fixes — keeping you focused on building features. - [Add to an Existing Project](https://mintlify.wiki/nrwl/nx/getting-started/add-to-existing-project.md): Add Nx to any existing npm, pnpm, or yarn workspace with a single command. Start with task running and caching, then adopt more capabilities incrementally. - [AI Integration](https://mintlify.wiki/nrwl/nx/getting-started/ai-setup.md): Set up the Nx MCP server to give AI coding assistants deep workspace context, terminal integration, and autonomous CI workflows. - [Installation](https://mintlify.wiki/nrwl/nx/getting-started/installation.md): Install Nx globally via npm, Homebrew, Chocolatey, or apt. Add Nx to existing repos with nx init. - [What is Nx?](https://mintlify.wiki/nrwl/nx/getting-started/introduction.md): Nx is a build system for monorepos. It helps you develop faster and keep CI fast as your codebase scales. - [Quickstart](https://mintlify.wiki/nrwl/nx/getting-started/quickstart.md): Create a new Nx workspace, run your first task, and see caching and affected commands in action. - [CI setup](https://mintlify.wiki/nrwl/nx/guides/ci-setup.md): Connect your Nx workspace to Nx Cloud for remote caching, affected-based task runs, and distributed execution across agents. - [Migrate to Nx](https://mintlify.wiki/nrwl/nx/guides/migrate-to-nx.md): Add Nx to an existing project or monorepo, migrate from Lerna or Turborepo, and keep your workspace up to date with nx migrate. - [Module Federation](https://mintlify.wiki/nrwl/nx/guides/module-federation.md): Use @nx/module-federation to scaffold and develop micro-frontend architectures with host and remote applications in an Nx workspace. - [Troubleshooting](https://mintlify.wiki/nrwl/nx/guides/troubleshooting.md): Solutions to common Nx issues: cache misses, project graph problems, daemon errors, memory limits, and how to gather diagnostic information. - [CLI Overview](https://mintlify.wiki/nrwl/nx/reference/cli-overview.md): A reference for the Nx command-line interface, including all major commands and global flags. - [nx affected](https://mintlify.wiki/nrwl/nx/reference/cli/affected.md): Run a target only for projects that have been changed and their dependents. - [nx generate](https://mintlify.wiki/nrwl/nx/reference/cli/generate.md): Scaffold or update source code using a generator from an installed Nx plugin. - [nx graph](https://mintlify.wiki/nrwl/nx/reference/cli/graph.md): Visualize the project dependency graph or task graph for your Nx workspace. - [nx migrate](https://mintlify.wiki/nrwl/nx/reference/cli/migrate.md): Update Nx and its plugins, then apply the generated code migrations. - [nx release](https://mintlify.wiki/nrwl/nx/reference/cli/release.md): Orchestrate versioning, changelog generation, and publishing of packages in the workspace. - [nx run](https://mintlify.wiki/nrwl/nx/reference/cli/run.md): Run a target for a project, with optional configuration and cache control. - [nx run-many](https://mintlify.wiki/nrwl/nx/reference/cli/run-many.md): Run one or more targets across multiple listed projects in the workspace. - [Environment variables](https://mintlify.wiki/nrwl/nx/reference/environment-variables.md): Complete reference for all environment variables that configure Nx CLI behavior, caching, the daemon, Nx Cloud, and built-in plugins. - [Inputs and named inputs](https://mintlify.wiki/nrwl/nx/reference/inputs.md): Reference for all Nx input types used to compute task cache hashes: filesets, environment variables, runtime commands, external dependencies, and named inputs. - [nx.json](https://mintlify.wiki/nrwl/nx/reference/nx-json.md): Complete reference for the nx.json configuration file, which controls Nx CLI behavior, project defaults, caching, plugins, and release settings. - [@nx/angular](https://mintlify.wiki/nrwl/nx/reference/plugins/angular.md): The Angular plugin for Nx provides generators, executors, and utilities for managing Angular applications and libraries within an Nx workspace. - [@nx/gradle](https://mintlify.wiki/nrwl/nx/reference/plugins/gradle.md): The Gradle plugin for Nx enables Java and Kotlin monorepo support by inferring tasks from your Gradle project structure. - [@nx/jest](https://mintlify.wiki/nrwl/nx/reference/plugins/jest.md): The Jest plugin for Nx integrates Jest unit testing into your workspace, with inferred task support and SWC transform for fast test runs. - [@nx/next](https://mintlify.wiki/nrwl/nx/reference/plugins/next.md): The Next.js plugin for Nx provides generators and executors for managing Next.js applications within an Nx workspace. - [@nx/node](https://mintlify.wiki/nrwl/nx/reference/plugins/node.md): The Node plugin for Nx provides generators for creating and managing Node.js applications and libraries within an Nx workspace. - [@nx/react](https://mintlify.wiki/nrwl/nx/reference/plugins/react.md): The React plugin for Nx provides generators, executors, and utilities for managing React applications and libraries within an Nx workspace. - [@nx/vite](https://mintlify.wiki/nrwl/nx/reference/plugins/vite.md): The Vite plugin for Nx provides generators and executors for building and testing applications using Vite and Vitest. - [@nx/webpack](https://mintlify.wiki/nrwl/nx/reference/plugins/webpack.md): The Webpack plugin for Nx provides executors and generators for building and serving applications using Webpack. - [Project configuration](https://mintlify.wiki/nrwl/nx/reference/project-configuration.md): Reference for project.json and the nx property in package.json, including targets, inputs, outputs, dependsOn, tags, and all other project-level settings. ## OpenAPI Specs - [openapi](https://mintlify.wiki/nrwl/nx/api-reference/openapi.json)