Skip to content

Create a new Nx workspace using one of these options:

Run the following command to create a new Nx workspace:

Terminal window
npx create-nx-workspace@latest

This interactive command guides you through the setup:

  • Workspace name - The name of your root directory
  • Starter template - Choose from various technology stacks (React, Angular, Node, etc.)

For a minimal setup, use the empty template. This gives you a bare TypeScript monorepo that you can extend incrementally.

Terminal window
npx create-nx-workspace@latest --template=nrwl/empty-template

Nx Cloud onboarding

Create your workspace directly from Nx Cloud for a browser-based setup experience.

This option gives you:

Get started with Nx Cloud →