nx
by nrwl
Nx is a build tool for monorepos, which are single code repositories that hold several projects. It caches work that has not changed and runs only the tasks affected by a code change, which speeds up builds and continuous integration (CI) pipelines.
- Stars
- 29.4k +1 a day
- Licence
- MIT
- Runs on
- Your computer
- Setup
- Moderate
- Language
- TypeScript
- Age
- 3366 days
What you can do with it
- Add caching and affected-only task runs to an existing npm, pnpm or yarn workspace with one command
- Speed up CI on GitHub Actions, GitLab or Azure with remote caching and task splitting across machines
- Generate and manage code across several projects using plugins for tools such as Vite, Jest, ESLint, Gradle and Go
Could replace
- Bazel
Our suggestion based on what it does, not a feature-by-feature comparison.
Make money with it
A freelance developer could offer monorepo set-up and build speed-up work to agencies and startups with slow CI pipelines.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Cut CI minutes and developer waiting time by only building and testing what changed, which lowers cloud build costs
- Keep a web app, an API and shared libraries in one repository so a small team can maintain them with less overhead
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Run `npx nx init` inside an existing npm, pnpm or yarn workspace, or follow the quickstart guide in the Nx documentation.
Follow the official instructions in the project README.
Things to check
- Remote caching, task distribution and self-healing CI depend on the paid Nx Cloud service
- Can be more than a small project needs
Checked 29 Oct 2026. Summary drafted by AI from the project's README.