Skip to content

The best Nx alternatives

6 tools that do a similar job to Nx, 6 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

Nx

A build tool for monorepos that caches unchanged work and runs only what's affected.

  1. 1

    Turborepo

    Open source · MIT · ★ 31.3k

    A build system that speeds up JavaScript and TypeScript monorepos, written in Rust.

    Best for: Teams maintaining a JavaScript or TypeScript monorepo with several apps or packages; Developers who want a build tool that is more focused on speed in a monorepo setup

  2. 2

    Lerna

    Open source · MIT · ★ 36k

    A build and publish tool for managing several JavaScript/TypeScript packages in one repository.

    Best for: JavaScript or TypeScript teams maintaining several related npm packages in one repository; Maintainers who need to version and publish multiple packages together

  3. 3

    Storybook

    Open source · MIT · ★ 91.4k

    A workshop for building, viewing, and testing UI components one at a time, outside the full app.

    Best for: Frontend teams building a shared component library or design system; Developers who want to develop a UI component without running the whole app

  4. 4

    Mitosis

    Open source · MIT · ★ 14.5k

    Write UI components once in a JSX-like syntax and compile them to many frameworks.

    Best for: Teams maintaining the same UI components across more than one framework; Library authors who want to publish components for several frameworks

  5. 5

    GraphQL Code Generator

    Open source · MIT · ★ 11.3k

    Generates code from your GraphQL schema and queries, using plugins you choose.

    Best for: Frontend developers who want typed code for GraphQL queries; Backend teams who want code generated from their schema

  6. 6

    Cypress

    Open source · MIT · ★ 51k

    A JavaScript tool for automated end-to-end and component testing of web apps in a browser.

    Best for: Developers who want automated browser tests for a web application; Teams that already use npm, Yarn, or pnpm in their JavaScript projects

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to Nx. We don't take payment for placement.