# create-nx-workspace

> Smart Monorepos · Fast Builds

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

## Install

```sh
npm install create-nx-workspace
pnpm add create-nx-workspace
yarn add create-nx-workspace
bun add create-nx-workspace
```

Provides the command `create-nx-workspace`.

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 23.2.1 |
| Published | 2026-09-09 |
| First published | 2019-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 238.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 29346 |
| Author | Victor Savkin |
| Maintainers | jack-nrwl, meeroslav, nrwlowner, nrwl-jason, juristr, altan-nrwl, jameshenry |
| Keywords | Monorepo, Angular, React, Web, Node, Nest, Jest, Cypress, Playwright, CLI |

## Links

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

## Dependencies (10)

- [ora](https://npm.io/package/ora.md) ^5.3.0
- [tmp](https://npm.io/package/tmp.md) ~0.2.7
- [flat](https://npm.io/package/flat.md) ^5.0.2
- [open](https://npm.io/package/open.md) ^8.4.0
- [axios](https://npm.io/package/axios.md) 1.18.1
- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [tslib](https://npm.io/package/tslib.md) ^2.3.0
- [yargs](https://npm.io/package/yargs.md) ^17.6.2
- [tar-stream](https://npm.io/package/tar-stream.md) ~2.2.0
- [@clack/prompts](https://npm.io/package/@clack/prompts.md) ^1.7.0

## 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-beta.1 (next) — 2026-09-17
- 23.3.0-canary.20260917-ea5c01d (canary) — 2026-09-17
- 23.3.0-pr.37068.f95e11e (pull-request) — 2026-09-16
- 22.7.12 (previous) — 2026-09-10
- 23.3.0-canary.20260915-071d621 — 2026-09-15
- 23.3.0-canary.20260914-69b08a6 — 2026-09-14
- 23.3.0-canary.20260911-50efd6a — 2026-09-11
- 23.3.0-pr.36958.5270397 — 2026-09-09
- 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.3.0-beta.0 — 2026-09-08
- 23.2.0-canary.20260908-89f02c1 — 2026-09-08
- … 2942 more at https://npm.io/package/create-nx-workspace/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 Monorepos · 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>

# `> npx create-nx-workspace`

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.

## What is It?

It's a command to create a new Nx workspace.

## 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/create-nx-workspace · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
