nx is a free, open source build & deployment project written in TypeScript and released under MIT. It has 29,349 GitHub stars, 3,002 forks and 490 open issues, and was last pushed 5 hours ago. On this registry it ranks #8 of 59 tracked projects in Build & Deployment, with 5 head-to-head comparisons available. It gained 14 stars over the last 3 tracked days.

What is nx?

Nx is an MIT-licensed monorepo platform for TypeScript and polyglot codebases that caches unchanged work, runs only affected tasks, and ships an integrated CI solution aimed at both developers and autonomous AI agents.

What it is

Nx is a monorepo solution for TypeScript and polyglot codebases. The project lives in the JavaScript and TypeScript ecosystem, its core is built with Rust for performance, and it is extensible via TypeScript. Distribution is through the nx CLI, with roughly 29,347 stars, 2,999 forks, and 490 open issues on GitHub, and a homepage at nx.dev.

The concrete problem it solves is the orchestration of many packages and scripts inside one repository. In a plain npm, pnpm, or yarn workspace, a change to one library forces teams to rewire package.json scripts by hand and to rebuild or retest far more than the change touched. Nx replaces that manual script wiring and the naive full-workspace run: running npx nx init in an existing workspace makes Nx pick up the existing package.json scripts, cache their outputs, and run only the tasks affected by a change, with no changes to the existing setup required.

Key capabilities

  • Zero-migration adoption through npx nx init, which initializes Nx inside any existing npm, pnpm, or yarn workspace and reuses the package.json scripts already present.
  • Output caching tied to tasks, so work that did not change is skipped and only affected targets run.
  • A polyglot plugin system where optional plugins auto-discover tasks, configure cache inputs and outputs, and scaffold code based on the tooling actually in use.
  • Plugin coverage across Vite, Webpack, Jest, Vitest, ESLint, Gradle, Maven, .NET, and Go, with more listed at nx.dev/technologies.
  • An integrated CI solution that connects to GitHub Actions, GitLab, Azure, and others to enable remote caching, task distribution across machines, affected-only runs, and automatic e2e test splitting.
  • Self-healing CI: an AI agent on the pipeline detects failures, analyzes root cause, proposes a fix, and verifies it automatically.
  • AI-native tooling: the Nx CLI is built so autonomous agents get the context they need, and local agents connect to CI over MCP to detect and fix failures.

Who uses it and how

  • Product engineering teams running a single repository across many applications and libraries, from startups to Fortune 500 companies.
  • Polyglot organizations that mix JavaScript and TypeScript with Gradle or Maven, .NET, or Go code and need one task graph over all of it.
  • CI owners on GitHub Actions, GitLab, or Azure who want remote caching, task distribution across machines, and affected-only runs instead of rebuilding everything per pull request.
  • Angular, Next.js, and Node.js projects, which appear among the project's topics alongside monorepo, build-system, and CLI concerns.
  • Teams experimenting with agent-driven maintenance, where a local agent connects to the CI pipeline over MCP and acts on failures autonomously.

Getting started

Run npx nx init inside an existing npm, pnpm, or yarn workspace; Nx adopts the current package.json scripts without requiring setup changes. The Nx quickstart documentation at nx.dev/docs/quickstart covers the same path.

How it compares

No competing products are named in the facts for this listing, so Nx stands alone in this registry. The tools it is documented to work with, such as Vite, Webpack, Jest, Vitest, ESLint, Gradle, Maven, .NET, and Go, are plugin integrations rather than alternatives it replaces. Nothing is provided here that contrasts it with paid build or CI products on licence, hosting, data ownership, or cost.

When to use it — and when not to

A self-hosting team adopting the integrated CI features must connect Nx to its own CI provider and run the infrastructure for remote caching, task distribution, and agent-driven fix verification, and the starting point assumes a repository already organized as an npm, pnpm, or yarn workspace. Teams without a multi-package repository, or without a need for affected-only runs, will carry the cost of a plugin and task graph configuration for little gain. The excerpt available here is short and quotes no version or release cadence, and the repository carries 490 open issues, so a prospective adopter should check current release notes before committing to it.

project readme (upstream, from github) — read inline

Smart Monorepos · Fast Builds

NPM Version GitHub Stars License Discord X (Twitter) Hours saved Cache hit rate Nx Sandboxing Remote caching Self-healing CI Flaky task retries


Docs  •  Changelog  •  Blog  •  Courses  •  YouTube


Nx is a monorepo solution for TypeScript and polyglot codebases. Built with Rust for performance, extensible via TypeScript. Caches what didn't change, runs only what's affected, and comes with an integrated CI solution. Start simple, scale as you grow.

Quick Start

Visit the Nx quickstart docs to get started.

Why Nx?

  • Incremental by design - Run npx nx init in any npm/pnpm/yarn workspace. Nx picks up your existing package.json scripts, caches their outputs, and runs only what's affected. No changes to your setup required.
  • AI-native tooling - The Nx CLI is optimized for autonomous AI agents so they get the context they need and can operate just like a human. Learn more »
  • Polyglot plugin system - Optional plugins auto-discover tasks, configure cache inputs/outputs, and scaffold code based on your actual tooling. Works with Vite, Webpack, Jest, Vitest, ESLint, Gradle, Maven, .NET, Go, and more.
  • Integrated CI solution - Connect Nx to your CI provider (GitHub Actions, GitLab, Azure, etc.) to enable remote caching, task distribution across machines, affected-only runs, and automatic e2e test splitting. Learn more »
  • Self-healing CI - An AI agent on your CI pipeline that detects failures, analyzes root cause, proposes a fix, and verifies it automatically. Local agents connect to CI via MCP to autonomously detect and fix failures. Learn more »

Who uses Nx?

From startups to Fortune 500 companies. See our Nx success stories »

Want to help?

If you want to file a bug or submit a PR, read up on our guidelines for contributing.

Core Team

Victor Savkin Jason Jean Benjamin Cabanes Jack Hsu
Victor Savkin Jason Jean Benjamin Cabanes Jack Hsu
vsavkin FrozenPandaz bcabanes jaysoo
James Henry Jon Cammisuli Max Kless Juri Strumpflohner
James Henry Jon Cammisuli Max Kless Juri Strumpflohner
JamesHenry cammisuli MaxKless juristr
Caleb Ukle Steven Nance Miroslav Jonaš Leosvel Pérez Espinosa
Caleb Ukle Steven Nance Miroslav Jonaš Leosvel Pérez Espinosa
barbados-clemens llwt meeroslav leosvelperez
Zachary DeRose Craigory Coppola Chau Tran Nicole Oliver
Zachary DeRose Craigory Coppola ![Chau Tran](https://avatars.githubuserco

readme truncated — read the full docs on github

Frequently asked questions

Is nx free to use?

nx is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does nx do?

The Monorepo Platform that amplifies both developers and AI agents. Nx optimizes your builds, scales your CI, and fixes failed PRs automatically. Ship in half t

What is nx written in?

nx is primarily written in TypeScript. Its source is publicly available at https://github.com/nrwl/nx, and it has 29,349 GitHub stars.