Skip to content
aicoolies logo
Lerna logo

Lerna

Monorepo management for JavaScript

The original monorepo management tool for JavaScript. Used by Babel, Jest, React, and thousands of projects. Defined how the JS ecosystem thought about multi-package repos.

About Lerna

Lerna is an open-source tool for managing JavaScript and TypeScript monorepos, specializing in dependency management, versioning, and package publishing across multiple packages within a single repository. It streamlines the process of maintaining libraries and applications that share code, providing automated workflows for bootstrapping dependencies, running scripts across packages, and publishing updated packages to npm. Lerna was one of the first tools to popularize the monorepo approach in the JavaScript ecosystem.

Key features include two versioning modes: fixed mode where all packages share the same version number, and independent mode where each package maintains its own version. Lerna handles dependency hoisting to reduce duplication, parallelized script execution across packages, and intelligent change detection that only versions and publishes packages that have actually been modified. The tool integrates with npm and Yarn workspaces for efficient dependency resolution and can be combined with build caching tools for additional performance.

Lerna remains the top choice for teams focused on publishing multiple npm packages from a single repository, offering the most mature and battle-tested publishing workflow in the JavaScript ecosystem. It is widely used by major open-source projects including Babel, Jest, and React, demonstrating its reliability for large-scale library development. While newer tools like Turborepo and Nx provide stronger build orchestration capabilities, Lerna excels specifically at the versioning and publishing workflow that library authors need most.

Pricing & Platform Specs

Pricing Summary

100% open source under the MIT license ($0 software cost). Lerna is an open-source monorepo management and package publishing orchestrator for JavaScript and TypeScript maintained by Nrwl. Optional cloud acceleration, distributed task execution, and remote computation caching are available via Nx Cloud (offering a free tier alongside usage-based team plans).

full pricing breakdown →

Supported Platforms

Was: CLI (npm/yarn)

Explore categories, tags & use cases

Web platform for modern development

Jamstack-focused cloud platform specializing in deploying static sites, serverless functions, and modern web applications with Git-based CI/CD. Features instant rollbacks, deploy previews for every PR, split testing, edge functions, form handling, identity/auth, and a global CDN with automatic HTTPS. Native support for Next.js, Nuxt, Gatsby, Hugo, Astro, and all major static site generators. Free $0 forever plan plus Personal and Pro credit-based tiers for growing traffic and team workflows.

freemium

Infrastructure, instantly

Modern cloud platform for deploying full-stack apps, databases, and workers with instant provisioning and usage-based pricing. Deploy from GitHub or CLI with zero config for Node.js, Python, Go, Rust, and Docker. Built-in PostgreSQL, MySQL, Redis, and MongoDB with auto backups. Features private networking, environment management, cron jobs, TCP proxying, and real-time logs. Popular with indie hackers and startups for fast MVPs with a generous free trial including $5 monthly credits.

paid

Run your app close to users

Global application hosting platform that runs full-stack apps, databases, and services close to users in 30+ regions using lightweight Firecracker micro-VMs. Deploy Docker containers or use built-in builders for Rails, Laravel, Django, Node.js, and Go. Features persistent volumes, private networking, auto-scaling, PostgreSQL/Redis managed databases, and a powerful CLI. Ideal for latency-sensitive apps needing multi-region presence. Generous free allowance with pay-as-you-go pricing.

paid

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Lerna?

The original monorepo management tool for JavaScript. Used by Babel, Jest, React, and thousands of projects. Defined how the JS ecosystem thought about multi-package repos.

Is Lerna free?

Yes — Lerna is open source and free to use. 100% open source under the MIT license ($0 software cost). Lerna is an open-source monorepo management and package publishing orchestrator for JavaScript and TypeScript maintained by Nrwl. Optional cloud acceleration, distributed task execution, and remote computation caching are available via Nx Cloud (offering a free tier alongside usage-based team plans).

Is Lerna open source?

Yes — Lerna is open source.

Is Lerna still maintained?

Yes — Lerna is active. Its listing was last verified on September 6, 2026.

What are the best Lerna alternatives?

The first editor-selected Lerna alternatives are Netlify, Railway, Fly.io.