About Nx
Nx accelerates development in monorepos by intelligently caching task results and analyzing project dependencies. It automates common workflows, generates boilerplate code, and runs only affected tests and builds after code changes.
Key features
- 01Visualize and understand project dependencies with nx graph
- 02Run tasks only on affected projects after changes with nx affected
- 03Cache task results to avoid redundant computation
- 04Generate new libraries and components with built-in generators
- 05Execute tasks across multiple projects in parallel
Use cases
- 01Managing large codebases with multiple interdependent packages and applications
- 02Optimizing CI/CD pipelines to run only necessary tests and builds
- 03Scaling development teams working on shared component libraries
- 04Automating repetitive setup and scaffolding tasks
Install
Pick your OS or package manager and run the command in a terminal.
Once installed, runnx --versionto confirm it works.
Example commands
Common commands in the order you’d use them.
Details
From the project READMENx 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 initin any npm/pnpm/yarn workspace. Nx picks up your existingpackage.jsonscripts, 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 |
|---|---|---|---|
| vsavkin | FrozenPandaz | bcabanes | jaysoo |
| James Henry | Jon Cammisuli | Max Kless | Juri Strumpflohner |
|---|---|---|---|
| JamesHenry | cammisuli | MaxKless | juristr |
| Caleb Ukle | Steven Nance | Miroslav Jonaš | Leosvel Pérez Espinosa |
|---|---|---|---|
| barbados-clemens | llwt | meeroslav | leosvelperez |
| Zachary DeRose | Craigory Coppola | Chau Tran | Nicole Oliver |
|---|---|---|---|
| ZackDeRose | AgentEnder | nartc | nixallover |
| Rares Matei | Altan Stalker | Josh VanAllen | Louie Weng |
|---|---|---|---|
| rarmatei | StalkAltan | joshvanallen | lourw |