Blank template
An empty, fully configured monorepo to grow into.
npx create-nx-workspace@latest my-workspace --template emptyA minimal Nx monorepo with no projects yet - the configuration, caching, and tooling are wired up for you. Start from scratch with module boundaries, affected commands, and a project graph from the first commit.
Highlights
Zero assumptions
No framework lock-in. Add React, Node, or anything else with a single generator when you need it.
Caching from day one
Local and remote caching, affected commands, and the project graph are configured before you write a line of code.
Module boundaries ready
Tag-based lint rules are set up so your architecture stays clean as the monorepo grows.
Quickstart
- Add your first app:
Terminal window npx nx g @nx/react:app apps/web - Add a library:
Terminal window npx nx g @nx/js:lib packages/util - Visualize your monorepo's graph in the browser:
Terminal window npx nx graph
What's inside
- A configured Nx monorepo (nx.json, tsconfig.base.json)
- Package-manager workspaces configured under packages/
- No projects - you decide what goes in
Speed up CI with Nx Cloud
Connect this monorepo to Nx Cloud to share one remote cache across your team and CI, and distribute tasks across machines as it grows.
- Remote caching shared across your team and CI
- Distributed task execution with Nx Agents
- Automated e2e test splitting
- CI that detects failures and proposes fixes