Nx Monorepo Toolkit

22.6.5 · active · verified Sat Apr 18

Nx is a powerful open-source build system for monorepos, enabling development teams to build, test, and deploy applications faster. It provides advanced features like a project graph, computation caching, and task orchestration, making it ideal for large-scale, multi-project environments. The current stable version is 22.6.5, with frequent updates and beta releases leading up to new minor/major versions, ensuring continuous improvement and support for the latest web technologies.

Common errors

Warnings

Install

Quickstart

Initializes a new Nx workspace, creates a React application, visualizes the project graph, serves the application, and runs its tests.

# Create a new Nx workspace with a React application
npx create-nx-workspace@latest my-workspace --preset=react --appName=my-app --nxCloud=false
cd my-workspace

# Visualize the project graph
nx graph

# Serve the React application locally
nx serve my-app

# Run tests for the React application
nx test my-app

view raw JSON →