From PNPM Workspaces to Distributed CI
Watch full courseNx 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:
npx nx@latest initWhether 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.
Next Steps
Section titled “Next Steps”After initializing Nx, try these commands:
nx build <project-name> # Run a tasknx build <project-name> # Run again - instant cache hitnx run-many -t build test # Run tasks across all projectsnx graph # Visualize project dependenciesFrom here you can:
- Configure task caching to speed up repeated builds
- Add Nx plugins for your tech stack (React, Angular, Node, etc.)
- Set up CI with remote caching and affected commands
- Enable remote caching with
nx connect