Nx
A strong pick. 6th of 10 package managers and monorepo tools.
Nx is a monorepo build system and platform with a project graph, affected-only runs, local and remote caching, code generators, plugins and release tooling. For large or multi-language TypeScript monorepos it is the most complete choice, but it is heavier to learn than Turborepo, its downloads are growing more slowly than its peers', and it has had a serious recent security record.
Best for: Mid-size to large teams with many packages or apps that want affected detection, generators, enforced module boundaries and distributed CI from one tool.
Scores
Overall7.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Nx is a strong pick and clearly the best fit for large, multi-team or polyglot monorepos that need affected runs, generators and distributed CI. For small TypeScript teams, Turborepo with pnpm does most of the job with less complexity and is gaining new users faster. The 2025 supply-chain compromise and the 2026 HIGH advisories also weigh on it. Depth and durability keep it at 7.
- npm downloads ratio vs medianDownloadsRatio: 2.2 vs 4.1, so it is losing relative ground
- dev.to/synsun/turborepo-vs-nx-which-monorepo-tool-wont-drive-you-crazy-in-2026-4o69: Recommends Nx for 20+ engineers and Turborepo for smaller teams
- nx.dev/blog/s1ngularity-postmortem: Supply-chain incident and its fixes
GPT-6.2 Sol: 7.9, likely 6.8 to 8.8
Nx is a strong pick for a new monorepo that needs task orchestration, enforceable project boundaries, and coordinated releases. Turborepo is the easier starting point for teams that mainly want to cache existing package scripts, and Nx can run on top of pnpm workspaces in either setup that uses Nx. Active maintenance and production use support the recommendation, while upgrade friction, slower relative adoption, and the publishing incident keep it below default-choice territory.
- tech.trellis.org/blog/2025-08-04-Building-at-Scale-How-Trellis-Structures-Our-Nx-Monorepo: Production experience with task orchestration and dependency boundaries
- nx.dev/docs/kb/adding-to-monorepo: Works alongside pnpm and other workspace managers
- turborepo.dev/docs/guides/migrating-from-nx: Script-based Turborepo setup for teams with simpler orchestration needs
- nx.dev/docs/reference/releases: Regular patches and a published support schedule
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio; peers Turborepo downloads: Nx trails the catalog baseline and its closest task-running peer on growth
- github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c: Past npm compromise and subsequent publishing changes
Needed by many5.1
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Monorepo task orchestration serves a large group, namely teams with several packages or apps in one repository, but not most JavaScript projects. Nx covers only the build, test and release half of the category's job. It leaves dependency installation to a package manager, so it is narrower than pnpm or npm.
- category.job: Category includes installing deps, which Nx does not do
- sourcegraph.com/blog/monorepo-build-tools: Places Nx among monorepo build tools for engineering teams
GPT-6.2 Sol: 5.2, likely 4.1 to 6.4
Nx works across several frameworks and can be added to npm, pnpm, or Yarn workspaces. Its value rises when projects share code or repeat expensive CI tasks. State of JavaScript shows substantial monorepo use, though its respondents give only a rough picture of how many JavaScript teams need this level of orchestration.
- nx.dev/docs/kb/adding-to-monorepo: Incremental setup on existing npm, pnpm, and Yarn workspaces
- 2025.stateofjs.com/en-US/other-tools: 1,682 of 10,251 question respondents regularly use Nx
- nx.dev/blog/nx-24-release: Framework and language integrations extend beyond Angular
Helps a lot8.2
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
Nx is the most feature-complete JS monorepo tool. It offers a project graph, reliable affected detection, caching, distributed execution, generators, automated migrations, boundary rules and release tooling, and it has an MCP server for AI agents. Independent reviewers call it more powerful than Turborepo and say its affected logic is more reliable. Its limits are a steep learning curve, docs that are hard to navigate, misleading errors on plugin version mismatches, and plugins that lag framework releases.
- dev.to/synsun/turborepo-vs-nx-which-monorepo-tool-wont-drive-you-crazy-in-2026-4o69: User reports strong affected logic, plus a learning curve and plugin breakages
- tech-insider.org/turborepo-vs-nx-vs-lerna-2026: 2026 comparison and benchmark that favours Nx on CI time
- dev.to/arenasbob2024cell/monorepo-in-2026-turborepo-vs-nx-vs-pnpm-workspaces-44l2: Turborepo framed as the simpler default, Nx as the full platform
GPT-6.2 Sol: 8.4, likely 7.3 to 9.3
Nx 24.0.6 combines task-level change detection, caching, TypeScript tooling, and package releases. Its docs show how to inspect inferred tasks, and coding agents can query the project graph, though their success at configuring Nx is still lightly measured. One user reported that affected runs can skip custom tasks that group other targets. Benchmarks outside Nx favor different runners on different workloads, so the speed advantage depends on the repository.
- npm latestVersion, hasTypes: Stable 24.0.6 ships TypeScript declarations
- nx.dev/blog/nx-24-release: Task-level change detection and finer test caching
- nx.dev/docs/technologies/typescript/introduction: TypeScript task inference and commands to inspect it
- nx.dev/docs/features/manage-releases: Versioning, changelogs, and publishing in one workflow
- nx.dev/docs/reference/nx-mcp: Agent access to workspace and project graph information
- github.com/nrwl/nx/issues/37479: User report on affected runs skipping aggregate targets
- github.com/ImBIOS/monorepo-benchmarks/releases: Nx 21 restored cached outputs faster than Turbo in one large test
- vznjs.github.io/vx/benchmarks: A competing tool's synthetic test found higher overhead for Nx 24 than Turbo
Holds up over time8.3
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
Activity is very high: 2,638 commits, 211 GitHub releases and 70 npm versions in the last year, and about 12.5k issues closed against 234 open. The Nrwl company funds the work and sells Nx Cloud, so it has a business reason to keep going. A commercial cloud upsell and frequent major versions, now at 24.x, are mild risks. Users report migration friction, though `nx migrate` softens it.
- github commitsLastYear / releasesLastYear: 2638 commits and 211 releases in the last year
- npm latestVersion: 24.0.6 published 2026-11-10, with fast major cadence
- github openIssues / closedIssues: 234 open vs 12,562 closed
- red.127.pp.ua/r/Angular2/comments/1hh72eh/rant_about_nwrl_nx_search_for_simpler_monorepo: User rant about migration and upgrade effort
GPT-6.2 Sol: 8.5, likely 7.4 to 9.3
Nx has a funded core team, 2,638 commits in the past year, and multiple maintainers publishing releases. The v24 line is current, and the newer-dated 23.3.3 release is an LTS patch. Automated migrations help, but twice-yearly major releases and user reports of ESLint regressions make upgrade effort harder to predict.
- github commitsLastYear, releasesLastYear; npm versionsLastYear: 2,638 commits, 211 GitHub releases, and 70 npm versions
- github.com/nrwl/nx/releases: Different maintainers published the recent v23 and v24 patches
- nx.dev/docs/reference/releases: 18 months of support and lockstep plugin versions
- nx.dev/blog/from-bootstrapped-to-venture-backed: Company funding and commercial support for development
- nx.dev/blog/nx-2026-roadmap: Ongoing work on cache correctness and CI scheduling
- github.com/nrwl/nx/issues/37830: Reported ESLint working-directory change after v24 migration
Used widely6.3
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Nx has about 60M downloads per 4 weeks and 21,460 dependent repos, which is more than twice Turborepo's dependent count. Some downloads come through Lerna, which builds on Nx. But growth is 2.2x a year against a 4.1x median, while Turborepo grew 7.4x. So Nx is losing share of new choices even though its installed base is large.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 59.7M vs 27.1M, a ratio of 2.2, below the 4.1 median
- dependents.repos: 21,460 repos vs Turborepo's 9,739
- peers Turborepo downloads: 178.7M vs 24.1M a year ago, a ratio of 7.4
- github stars: 29.5k stars, close to Turborepo's 31.4k
GPT-6.2 Sol: 5.6, likely 4.6 to 6.8
Ecosyste.ms found 21,460 repositories and 617 packages depending on Nx, ahead of Turborepo's tracked repository count. Installs rose from 27.1 million to 59.7 million in the same four-week window, but Nx's 2.20× growth trails the 4.10× catalog baseline and Turborepo's 7.41×. The survey puts regular use close to Turborepo, while CI reinstalls and indirect use through Lerna make direct adoption harder to estimate.
- dependents repos, packages; peers Turborepo dependentRepos: 21,460 tracked Nx repos versus 9,739 for Turborepo
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio; peers Turborepo downloads: 2.20× Nx growth versus 4.10× baseline and 7.41× for Turborepo
- github stars; bluesky posts, top; peers Turborepo blueskyPosts: 29,484 stars and 62 Bluesky links versus Turbo's 39, with incident coverage driving several top posts
- lerna.js.org/docs/lerna-and-nx: Lerna uses Nx for project detection and task execution
- 2025.stateofjs.com/en-US/other-tools: 1,682 regular Nx users versus 1,718 for Turborepo
Vouched for7.4
Who stands behind it being good?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Many independent 2026 comparisons recommend Nx for larger organisations, and it is a long-standing State of JS monorepo entry. Well-known users include Kent C. Dodds's write-up on migrating to it, and Lerna itself runs on Nx. Satisfaction data for 2025 was not found, and several reviewers prefer Turborepo for small teams, so validation is solid but not unanimous.
- kentcdodds.com/blog/migrating-to-workspaces-and-nx: Public migration write-up by a well-known developer
- 2024.stateofjs.com/en-US/libraries/monorepo_tools: Nx tracked among the main monorepo tools in the survey
- dev.to/synsun/turborepo-vs-nx-which-monorepo-tool-wont-drive-you-crazy-in-2026-4o69: Independent reviewer calls Nx the more powerful tool
GPT-6.2 Sol: 7.8, likely 6.6 to 8.8
Trellis engineers describe running Nx across 14 production apps and more than 1,200 libraries, and Angular ESLint uses it to build, test, and release its packages. A 2026 case study documents use at Broadcom and was published by Nx. User reports credit caching and affected runs but describe friction with plugins and configuration, and the latest survey gives a clearer picture of regular use than satisfaction.
- tech.trellis.org/blog/2025-08-04-Building-at-Scale-How-Trellis-Structures-Our-Nx-Monorepo: Engineering team's own account of production use at scale
- raw.githubusercontent.com/angular-eslint/angular-eslint/main/nx.json: Public build, test, and release configuration for Angular ESLint
- nx.dev/customer-stories/how-broadcom-stays-efficient-and-nimble-with-monorepos: Vendor-published account of Broadcom's frontend adoption
- reddit.com/r/webdev/comments/1p6nv7n/does_anyone_actually_like_nx: Users praise orchestration and describe plugin and documentation friction
- 2025.stateofjs.com/en-US/other-tools: Recent survey measures regular use
Safe5.6
How safe is it to depend on?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
In August 2025 attackers used a GitHub Actions injection to steal a publish token and released malicious Nx versions. Nx then moved to npm Trusted Publishing with OIDC and added manual release approval. Six advisories in 24 months followed, including three HIGH in 2026, all fixed. The package pulls in 88 dependencies, which is a wide surface. The Scorecard of 7.9 is decent and the licence is MIT.
- nx.dev/blog/s1ngularity-postmortem: Postmortem: token stolen via Actions injection, move to Trusted Publishing
- wiz.io/blog/s1ngularity-supply-chain-attack: Independent analysis of the malicious releases and leaked secrets
- advisories: 6 advisories in 24 months, including 3 HIGH in 2026
- npm dependencies: 88 direct dependencies
- scorecard score: 7.9, with CII and Fuzzing at 0
GPT-6.2 Sol: 6.2, likely 4.9 to 7.5
The MIT-licensed CLI brings in dozens of dependencies and ships platform-specific binaries. The 2025 npm compromise was contained within hours, and Nx switched to npm Trusted Publishing and disabled token-based publishing. The reported CLI flaws received fixes, while deprecated self-hosted cache plugins lack a patch and the companion Nx Console extension had a separate compromise in 2026. Scorecard gives review full marks and fuzzing zero, with packaging and signed releases unscored.
- raw.githubusercontent.com/nrwl/nx/24.0.6/packages/nx/package.json: MIT license, dozens of dependencies, and optional native packages
- advisories total, recent; scorecard score, checks: Six recent core package advisories and a 7.9 Scorecard
- github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c: 2025 malicious npm releases, containment timeline, and publishing changes
- github.com/nrwl/nx/security/advisories/GHSA-w2vw-w76x-qr89: High-severity CLI issue patched on v22 and v23
- github.com/nrwl/nx/security/advisories/GHSA-w3vv-58gj-gw77: High-severity daemon issue patched on v22 and v23
- github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7g: Built-in remote cache fixed and deprecated cache plugins remain unpatched
- nx.dev/blog/nx-console-v18-95-0-postmortem: Separate 2026 editor-extension compromise and release hardening
Good
- The project graph and `nx affected` reliably run only the tasks a change can touch, which cuts CI time a lot in big repos.
- Generators, plugins and `nx migrate` keep many packages consistent and automate framework upgrades.
- It covers the whole workflow: task caching, remote and distributed execution through Nx Cloud, module boundary rules and `nx release`.
- A funded company maintains it, with very frequent releases and over 1,300 contributors.
Bad
- It is harder to learn and set up than Turborepo, and its config is more verbose. Small teams often find it is more than they need.
- Mismatched versions between the core and `@nx/*` plugins, and plugins that lag new framework releases, cause confusing breakages.
- It pulls in about 88 dependencies and has had a malicious publish in 2025 plus several HIGH advisories in 2026.
- It does not install packages. You still need pnpm, npm, Yarn or Bun alongside it.
The numbers
- npm downloads, 4 weeks
- 60M ×2.2 in a year
- GitHub stars
- 29k
- Commits, 12 months
- 2.6k
- npm version
- 24.0.6 Nov 2026
- Versions, 12 months
- 70
- Advisories, 24 months
- 6 of 6 ever
- OpenSSF Scorecard
- 7.9 out of 10, Oct 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (nrwl/nx), npm (nx), OSV and the OpenSSF Scorecard.