# nx

> The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

Latest version **23.2.1** (published 2026-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install nx
pnpm add nx
yarn add nx
bun add nx
```

Provides the commands `nx`, `nx-cloud`.

## Health

**Score 70/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; large bundle.

## Facts

| | |
|---|---|
| Version | 23.2.1 |
| Published | 2026-09-09 |
| First published | 2011-10-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 124 |
| Unpacked size | 17.5 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | yes |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 29324 |
| Author | Victor Savkin |
| Maintainers | jack-nrwl, meeroslav, nrwlowner, nrwl-jason, juristr, altan-nrwl, jameshenry, vsavkin |
| Keywords | Monorepo, Angular, React, Web, Node, Nest, Jest, Cypress, CLI, Testing, Front-end, Backend, Mobile |

## Links

- npm: https://www.npmjs.com/package/nx
- Repository: https://github.com/nrwl/nx
- Homepage: https://nx.dev
- Issues: https://github.com/nrwl/nx/issues
- npm.io page: https://npm.io/package/nx

## Dependencies (124)

- [bl](https://npm.io/package/bl.md) 4.1.0
- [ms](https://npm.io/package/ms.md) 2.1.3
- [ejs](https://npm.io/package/ejs.md) 5.0.1
- [ora](https://npm.io/package/ora.md) 5.4.1
- [tmp](https://npm.io/package/tmp.md) 0.2.7
- [flat](https://npm.io/package/flat.md) 5.0.2
- [gopd](https://npm.io/package/gopd.md) 1.2.0
- [once](https://npm.io/package/once.md) 1.4.0
- [open](https://npm.io/package/open.md) 10.1.0
- [y18n](https://npm.io/package/y18n.md) 5.0.8
- [yaml](https://npm.io/package/yaml.md) 2.9.0
- [axios](https://npm.io/package/axios.md) 1.18.1
- [chalk](https://npm.io/package/chalk.md) 4.1.2
- [cliui](https://npm.io/package/cliui.md) 8.0.1
- [clone](https://npm.io/package/clone.md) 1.0.4
- [debug](https://npm.io/package/debug.md) 4.4.3
- [isexe](https://npm.io/package/isexe.md) 2.0.0
- [json5](https://npm.io/package/json5.md) 2.2.3
- [tslib](https://npm.io/package/tslib.md) 2.8.1
- [which](https://npm.io/package/which.md) 3.0.1
- [yargs](https://npm.io/package/yargs.md) 17.7.2
- [buffer](https://npm.io/package/buffer.md) 5.7.1
- [dotenv](https://npm.io/package/dotenv.md) 16.4.7
- [hasown](https://npm.io/package/hasown.md) 2.0.4
- [ignore](https://npm.io/package/ignore.md) 7.0.5
- [is-wsl](https://npm.io/package/is-wsl.md) 3.1.0
- [semver](https://npm.io/package/semver.md) 7.8.4
- [wrappy](https://npm.io/package/wrappy.md) 1.0.2
- [figures](https://npm.io/package/figures.md) 3.2.0
- [ieee754](https://npm.io/package/ieee754.md) 1.2.1
- [mime-db](https://npm.io/package/mime-db.md) 1.52.0
- [onetime](https://npm.io/package/onetime.md) 5.1.2
- [wcwidth](https://npm.io/package/wcwidth.md) 1.0.1
- [argparse](https://npm.io/package/argparse.md) 2.0.1
- [asynckit](https://npm.io/package/asynckit.md) 0.4.0
- [defaults](https://npm.io/package/defaults.md) 1.0.4
- [escalade](https://npm.io/package/escalade.md) 3.2.0
- [has-flag](https://npm.io/package/has-flag.md) 4.0.0
- [inherits](https://npm.io/package/inherits.md) 2.0.4
- [mimic-fn](https://npm.io/package/mimic-fn.md) 2.1.0
- [minimist](https://npm.io/package/minimist.md) 1.2.8
- [path-key](https://npm.io/package/path-key.md) 3.1.1
- [base64-js](https://npm.io/package/base64-js.md) 1.5.1
- [es-errors](https://npm.io/package/es-errors.md) 1.3.0
- [form-data](https://npm.io/package/form-data.md) 4.0.6
- [get-proto](https://npm.io/package/get-proto.md) 1.0.1
- [is-docker](https://npm.io/package/is-docker.md) 3.0.0
- [minimatch](https://npm.io/package/minimatch.md) 10.2.5
- [smol-toml](https://npm.io/package/smol-toml.md) 1.6.1
- [strip-bom](https://npm.io/package/strip-bom.md) 3.0.0
- [wrap-ansi](https://npm.io/package/wrap-ansi.md) 7.0.0
- [agent-base](https://npm.io/package/agent-base.md) 6.0.2
- [ansi-regex](https://npm.io/package/ansi-regex.md) 5.0.1
- [cli-cursor](https://npm.io/package/cli-cursor.md) 3.1.0
- [color-name](https://npm.io/package/color-name.md) 1.1.4
- [mime-types](https://npm.io/package/mime-types.md) 2.1.35
- [picocolors](https://npm.io/package/picocolors.md) 1.1.1
- [sisteransi](https://npm.io/package/sisteransi.md) 1.0.5
- [strip-ansi](https://npm.io/package/strip-ansi.md) 6.0.1
- [tar-stream](https://npm.io/package/tar-stream.md) 2.2.0
- [@clack/core](https://npm.io/package/@clack/core.md) 1.4.3
- [ansi-styles](https://npm.io/package/ansi-styles.md) 4.3.0
- [bundle-name](https://npm.io/package/bundle-name.md) 4.1.0
- [emoji-regex](https://npm.io/package/emoji-regex.md) 8.0.0
- [has-symbols](https://npm.io/package/has-symbols.md) 1.1.0
- [log-symbols](https://npm.io/package/log-symbols.md) 4.1.0
- [safe-buffer](https://npm.io/package/safe-buffer.md) 5.2.1
- [signal-exit](https://npm.io/package/signal-exit.md) 3.0.7
- [@emnapi/core](https://npm.io/package/@emnapi/core.md) 1.4.5
- [cli-spinners](https://npm.io/package/cli-spinners.md) 2.6.1
- [dunder-proto](https://npm.io/package/dunder-proto.md) 1.0.1
- [fs-constants](https://npm.io/package/fs-constants.md) 1.0.0
- [jsonc-parser](https://npm.io/package/jsonc-parser.md) 3.3.1
- [npm-run-path](https://npm.io/package/npm-run-path.md) 4.0.1
- [string-width](https://npm.io/package/string-width.md) 4.2.3
- [yargs-parser](https://npm.io/package/yargs-parser.md) 21.1.1
- [color-convert](https://npm.io/package/color-convert.md) 2.0.1
- [dotenv-expand](https://npm.io/package/dotenv-expand.md) 12.0.3
- [end-of-stream](https://npm.io/package/end-of-stream.md) 1.4.5
- [function-bind](https://npm.io/package/function-bind.md) 1.1.2
- [get-intrinsic](https://npm.io/package/get-intrinsic.md) 1.3.0
- [@clack/prompts](https://npm.io/package/@clack/prompts.md) 1.7.0
- [balanced-match](https://npm.io/package/balanced-match.md) 4.0.3
- [delayed-stream](https://npm.io/package/delayed-stream.md) 1.0.0
- [fast-wrap-ansi](https://npm.io/package/fast-wrap-ansi.md) 0.2.0
- [is-interactive](https://npm.io/package/is-interactive.md) 1.0.0
- [proxy-from-env](https://npm.io/package/proxy-from-env.md) 2.1.0
- [restore-cursor](https://npm.io/package/restore-cursor.md) 3.1.0
- [string_decoder](https://npm.io/package/string_decoder.md) 1.3.0
- [supports-color](https://npm.io/package/supports-color.md) 7.2.0
- [tsconfig-paths](https://npm.io/package/tsconfig-paths.md) 4.2.0
- [util-deprecate](https://npm.io/package/util-deprecate.md) 1.0.2
- [@emnapi/runtime](https://npm.io/package/@emnapi/runtime.md) 1.4.5
- [brace-expansion](https://npm.io/package/brace-expansion.md) 5.0.9
- [combined-stream](https://npm.io/package/combined-stream.md) 1.0.8
- [default-browser](https://npm.io/package/default-browser.md) 5.2.1
- [es-object-atoms](https://npm.io/package/es-object-atoms.md) 1.1.1
- [get-caller-file](https://npm.io/package/get-caller-file.md) 2.0.5
- [has-tostringtag](https://npm.io/package/has-tostringtag.md) 1.0.2
- [math-intrinsics](https://npm.io/package/math-intrinsics.md) 1.1.0
- [readable-stream](https://npm.io/package/readable-stream.md) 3.6.2
- [resolve.exports](https://npm.io/package/resolve.exports.md) 2.0.3
- [run-applescript](https://npm.io/package/run-applescript.md) 7.0.0
- [@tybys/wasm-util](https://npm.io/package/@tybys/wasm-util.md) 0.9.0
- [@zkochan/js-yaml](https://npm.io/package/@zkochan/js-yaml.md) 0.0.7
- [define-lazy-prop](https://npm.io/package/define-lazy-prop.md) 3.0.0
- [follow-redirects](https://npm.io/package/follow-redirects.md) 1.16.0
- [@yarnpkg/lockfile](https://npm.io/package/@yarnpkg/lockfile.md) 1.1.0
- [fast-string-width](https://npm.io/package/fast-string-width.md) 3.0.2
- [https-proxy-agent](https://npm.io/package/https-proxy-agent.md) 5.0.1
- [lines-and-columns](https://npm.io/package/lines-and-columns.md) 2.0.3
- [require-directory](https://npm.io/package/require-directory.md) 2.1.1
- [default-browser-id](https://npm.io/package/default-browser-id.md) 5.0.0
- [es-define-property](https://npm.io/package/es-define-property.md) 1.0.1
- [es-set-tostringtag](https://npm.io/package/es-set-tostringtag.md) 2.1.0
- [is-inside-container](https://npm.io/package/is-inside-container.md) 1.0.0
- [@emnapi/wasi-threads](https://npm.io/package/@emnapi/wasi-threads.md) 1.0.4
- [@jest/diff-sequences](https://npm.io/package/@jest/diff-sequences.md) 30.0.1
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) 1.0.5
- [is-unicode-supported](https://npm.io/package/is-unicode-supported.md) 0.1.0
- [@napi-rs/wasm-runtime](https://npm.io/package/@napi-rs/wasm-runtime.md) 0.2.4
- [call-bind-apply-helpers](https://npm.io/package/call-bind-apply-helpers.md) 1.0.2
- [is-fullwidth-code-point](https://npm.io/package/is-fullwidth-code-point.md) 3.0.0
- [fast-string-truncated-width](https://npm.io/package/fast-string-truncated-width.md) 3.0.3

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 23.2.1 (latest) — 2026-09-09
- 23.3.0-canary.20260914-69b08a6 (canary) — 2026-09-14
- 22.7.12 (previous) — 2026-09-10
- 23.3.0-pr.36958.5270397 (pull-request) — 2026-09-09
- 23.3.0-beta.0 (next) — 2026-09-08
- 23.3.0-canary.20260911-50efd6a — 2026-09-11
- 22.7.11 — 2026-09-09
- 23.3.0-canary.20260909-359c09a — 2026-09-09
- 23.3.0-pr.36841.f66e88b — 2026-09-09
- 22.7.10 — 2026-09-09
- 23.2.0-canary.20260908-89f02c1 — 2026-09-08
- 23.2.0-canary.20260902-6e38e5e — 2026-09-02
- 23.2.0 — 2026-09-02
- 23.2.0-rc.2 — 2026-09-01
- 22.7.9 — 2026-09-01
- … 2659 more at https://npm.io/package/nx/versions

## README

<p style="text-align: center;">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
    <img alt="Nx - Smart Repos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
  </picture>
</p>

<div style="text-align: center;">

[![License](https://img.shields.io/npm/l/@nx/workspace.svg?style=flat-square)](<>)
[![NPM Version](https://badge.fury.io/js/nx.svg)](https://www.npmjs.com/package/nx)
[![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](<>)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Join us on the Official Nx Discord Server](https://img.shields.io/discord/1143497901675401286?label=discord)](https://go.nx.dev/community)
[![Nx Sandboxing](https://staging.nx.app/workspaces/62d013ea0852fe0a2df74438/sandbox-badge.svg)](https://nx.dev/docs/features/ci-features/sandboxing)

</div>


<hr>

# Nx: Smart Repos · Fast Builds

Get to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents.

## Getting Started

### Creating an Nx Workspace

**Using `npx`**

```bash
npx create-nx-workspace
```

**Using `npm init`**

```bash
npm init nx-workspace
```

**Using `yarn create`**

```bash
yarn create nx-workspace
```

### Adding Nx to an Existing Repository

Run:

```bash
npx nx@latest init
```

## Documentation & Resources

- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
- [Intro to Nx](https://nx.dev/getting-started/intro)
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
- [Blog Posts About Nx](https://nx.dev/blog)

<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg" 
width="100%" alt="Nx - Smart Monorepos · Fast Builds"></a></p>

---
_Source: https://npm.io/package/nx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
