Skip to content
🚀 We’re live on Product Hunt Vote or leave a comment today!

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 pre-built monorepo templates (React, Tanstack Start, Angular, Next.js, NestJS, Astro, 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=empty

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 →

Once your workspace is set up: