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
  • Template - Choose from various technology stacks (React, Angular, Node, etc.)
  • Package manager - npm, yarn, pnpm, or bun
  • Additional options - Styling, testing frameworks, and more depending on your template

For a minimal setup, choose the empty workspace template (--preset=ts). This gives you a bare TypeScript monorepo that you can extend incrementally.

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 →