Skip to content

From PNPM Workspaces to Distributed CI

Watch full course

Nx is designed for incremental adoption. Start with just task running and caching, then add plugins, CI integrations, or other capabilities as your needs grow.

Add Nx to any existing project with a single command:

Terminal window
npx nx@latest init

Whether a monorepo, single project, or something in between, nx init walks you through adding and configuring Nx. At the end you'll have an Nx workspace ready for anything.

After initializing Nx, try these commands:

Terminal window
nx build <project-name> # Run a task
nx build <project-name> # Run again - instant cache hit
nx run-many -t build test # Run tasks across all projects
nx graph # Visualize project dependencies

From here you can: