Nx, Turborepo, Lerna… Which Monorepo Tool Wins for New Projects?



This content originally appeared on DEV Community and was authored by Marek Kregiel

I still remember my first interaction with monorepos it was with Lerna. At the time, it felt like a game-changer. Later, I even migrated a large codebase to a monorepo using Lerna, but things in this space evolved really quickly.

Today, we have tools like Nx, Turborepo, npm workspaces and many more, they’re improving at a rapid pace. Each one brings its own advantages, from build performance to developer experience.
Personally, I find it hard to imagine starting a new project without a monorepo. The benefits are just too good to ignore:

Reusability of shared libraries and utilities
Better collaboration between teams
Consistent tooling and configuration across projects
Easier refactoring across multiple apps/packages

For me, monorepo is quickly becoming the default choice rather than an exception.
I’m curious, what’s your favorite monorepo tool today?
And if you were starting a new project from scratch, which one would you pick?


This content originally appeared on DEV Community and was authored by Marek Kregiel