Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Lerna

lerna.js.org

  • Free plan
  • Windows
  • Web
  • Self-hosted
7.7 Club score Visit lerna.js.org

What Lerna is

Lerna is an open-source build system for managing and publishing multiple JavaScript and TypeScript packages from one repository. It runs commands across projects in an efficient order, in parallel, and can distribute work across machines. Its computation cache can restore task files and terminal output rather than rerun completed tasks. Lerna manages package versioning and npm publishing with fixed or independent versioning workflows, and includes an interactive graph for viewing workspace structure and dependencies. It uses Nx to identify workspace packages and dependencies and to run scripts with parallelism, caching, and distribution. Supported package managers are npm, yarn, pnpm, and bun; their workspace features should handle dependency installation and linking. Nx Cloud offers related plans: Hobby is free forever, Team costs $29 a month, and Enterprise uses custom pricing. Lerna 9.0.0 and later support npm OIDC trusted publishing. Nx Console provides Visual Studio Code and JetBrains integrations for task execution, generators, project details, and workspace visualization.

Who it suits

Lerna suits developers managing JavaScript or TypeScript packages in a shared repository. Teams that want task caching, distribution, or related Nx Cloud services can consider those capabilities alongside their package workflows.

Good to know, and what to watch

  • Runs repository tasks in parallel and efficient order.
  • Caches task files and terminal output.
  • Supports fixed or independent package versioning.
  • Includes an interactive workspace graph.
  • Works with npm, yarn, pnpm, and bun.
  • Dependency installation and linking should use package-manager workspace features.
  • Nx Cloud Team costs $29 a month.
  • Nx Cloud Enterprise pricing is custom.

Enterprise

—

Hobby

Free

Team

$29/mo

Open source

Getting started

  1. Open the Lerna website
  2. Set up a self-hosted, web or Windows workspace
  3. Configure npm, yarn, pnpm or bun as the package manager
  4. Use the package manager’s workspace features to install and link dependencies
  5. Connect Nx Cloud if hosted caching or distributed execution is needed
  6. Use Lerna to run tasks, version packages or publish to npm

Limits to check

Nx Cloud Hobby includes 50,000 credits monthly, five contributors and 10 concurrent CI connections. Team charges $29 a month, plus listed usage, contributor and concurrent-connection rates; Enterprise uses custom pricing.

The Club's review

Lerna is a JavaScript and TypeScript monorepo build system for teams coordinating builds and releases across related packages. It suits maintainers who need ordered task runs and package versioning in one repository. Its clearest advantage is bringing those workflows together; teams that only need dependency installation and linking can rely on their package manager’s workspace features.

Overview

Lerna focuses on the work around a multi-package repository: deciding which project tasks to run, coordinating their order, and managing package releases. Nx supplies workspace detection and task execution, while npm, Yarn, pnpm, or Bun handles installing and linking dependencies. That division makes Lerna a better fit for build and release coordination than as a general replacement for a package manager.

Key features

Tasks can run in parallel and in an efficient order, with caching and distribution across machines. When inputs have not changed, the computation cache can restore task files and terminal output rather than run the task again. This can cut repeated work in repositories with recurring builds; teams also need to account for Nx as part of the execution and caching workflow.

The interactive workspace graph helps users understand project relationships and dependencies, and affected builds let teams focus execution on projects impacted by changes. These capabilities are most useful when a repository has enough packages and dependencies to make build scope difficult to track by inspection.

Lerna manages package versioning and npm publishing, supporting both a shared version across packages and independent versions. From version 9.0.0, it also supports npm OIDC trusted publishing, so teams can publish without traditional fixed tokens. Dependency installation and linking remain the configured package manager’s responsibility.

Nx Console adds task execution, generators, project details, and workspace visualization in Visual Studio Code and JetBrains editors. For teams that prefer editor-based project navigation, this extends the workflow beyond command-line task execution.

Pricing

Lerna is open source and free. Nx Cloud is a separate service with its own charges for closed-source projects; its plans determine the included credits, contributor and CI limits, and support.

PlanPrice and termsWhat it includes
HobbyFree; Free forever50,000 credits monthly, 5 contributors, 10 concurrent CI connections, community support
Team$29 a month; $29 included usage creditAdditional usage costs $5.50 per 10,000 credits, $19 per contributor, and $2.25 per concurrent CI connection; email support
EnterpriseCustom pricingConformance, circular dependency detection, cross-repository visibility, CI observability, dedicated support and SLAs, isolated and self-hosted deployment, and SSO/SAML

Hobby is suited to smaller teams within its five-contributor and ten-connection caps. Team adds email support and usage-based charges, so its $29 monthly price is only part of the cost when usage, contributors, or concurrent CI connections exceed what the included credit covers. Enterprise is aimed at organizations needing governance, broader repository visibility, or dedicated support; its price is custom.

Nx Cloud is free for open-source projects. Closed-source projects receive their first 500 computation hours each month free, then pay $1 per computation hour. Nx Cloud stores hashed task inputs and cached results rather than code, supports end-to-end encryption, and offers self-hosted deployment through Enterprise.

Platforms

Lerna is available for self-hosted and web use, as well as Windows.

Who it's for

Lerna fits teams maintaining multiple JavaScript or TypeScript packages in one repository, especially when coordinated task execution, cached builds, affected builds, and npm releases are part of the same workflow. Its fixed and independent versioning options serve teams with either synchronized or separate package release cycles.

It is less suitable for users seeking only dependency management: Lerna expects npm, Yarn, pnpm, or Bun to install and link workspace dependencies. Teams that do not need coordinated builds or publishing may find its additional workflow unnecessary.

Pros and cons

Pros

  • Combines ordered, parallel task execution with caching and machine distribution, reducing repeated work across multi-package builds.
  • Supports both fixed and independent package versions, giving teams flexibility in how they release to npm.
  • The workspace graph and affected builds help teams understand dependencies and focus work on impacted projects.
  • OIDC trusted publishing from version 9.0.0 avoids reliance on traditional fixed publish tokens.

Cons

  • Dependency installation and linking are left to the package manager, so Lerna is not a standalone dependency-management solution.
  • Nx provides workspace detection and task execution, adding another component to the build and cache workflow.
  • Closed-source Nx Cloud use can incur usage, contributor, and concurrent CI charges beyond Team’s included $29 credit.

Alternatives

Nx is a freemium alternative with a free Hobby plan capped at five contributors and ten concurrent CI connections, making it relevant to readers comparing the broader build-system option already underpinning Lerna’s workspace and task execution.

npm is the more direct choice for public package authors who need public package publishing and registry access; its Free plan includes unlimited public packages.

affected is a free, MIT-licensed standalone CLI for readers seeking a narrower command-line tool.

bento offers a free plan with 10 GB of storage and 14-day retention, which may suit readers comparing a storage-focused alternative.

Bit is open source and free, with free personal use through Bit Cloud.

Blaze is a free alternative.

Bun is an open-source JavaScript runtime and toolkit, suited to readers looking for that kind of tool rather than Lerna’s monorepo build and publishing workflow.

EvoMaster is an open-source tool with no monetary cost or paid external services required.

Browse more options in Monorepo Management Tools.

Verdict

Choose Lerna if your team maintains a JavaScript or TypeScript monorepo and wants coordinated, cached task execution alongside flexible npm versioning and publishing. Its main appeal is connecting build coordination with release management; look elsewhere if you only need dependency installation, or if Nx Cloud’s closed-source usage charges and contributor or CI costs do not fit your budget.

The verdict

Lerna focuses on coordinating package tasks, caching, and publishing from a shared repository. Its package managers handle dependency linking, while Nx Cloud is a separate option with its own plans and charges.

Questions people ask

Is Lerna free?

Lerna is free and open source, with a free plan and a free trial listed.

Which package managers work with Lerna?

Lerna supports npm, yarn, pnpm and bun. Their workspace features handle dependency installation and linking.

What does Nx Cloud Hobby cost?

Hobby is free, billed free forever. It includes 50,000 monthly credits, five contributors, 10 concurrent CI connections and community support.

How much is Nx Cloud Team?

Team costs $29 a month, with $29 of included usage credit, then listed credit, contributor and concurrent CI connection charges.

Can Lerna publish without fixed npm tokens?

Lerna 9.0.0 and later support npm OIDC trusted publishing.

What the maker publishes

Caching
Lerna restores previously executed task files and terminal output from its computation cache instead of rerunning tasks. source
Dependency management
Lerna says package managers should install and link dependencies through their workspaces features rather than Lerna commands. source
Editor integrations
Nx Console provides Lerna users with Visual Studio Code and JetBrains integrations for task execution, generators, project details, and workspace visualization. source
Graph visualizer
Lerna includes an interactive workspace graph visualizer for understanding project architecture and dependencies. source
Nx Cloud pricing
Nx Cloud is free for open source projects; closed-source projects get the first 500 computation hours per month free and then pay $1 per computation hour. source
Nx integration
Lerna uses Nx to detect workspace packages and dependencies and to run scripts with parallelism, caching, and distribution. source
Package managers
Lerna supports npm, yarn, pnpm, and bun as configured package managers. source
Product
Lerna is a fast, modern build system for managing and publishing multiple JavaScript and TypeScript packages from one repository. source
Publishing
Lerna manages versioning and publishing packages to npm and supports fixed or independent versioning workflows. source
Publishing security
Lerna 9.0.0 and later support npm OIDC trusted publishing so packages can publish without traditional fixed tokens. source
Security
Nx Cloud stores hashed task inputs and cached results rather than actual code, supports end-to-end encryption, and offers self-hosted deployment through Enterprise. source
Stewardship
Nx took over stewardship of Lerna in 2022, and Nx is an open-source MIT-licensed build system developed by ex-Googlers. source
Support
The Nx Cloud Hobby plan includes community support, while the Team plan includes email support and Enterprise includes dedicated support and SLAs. source
Task execution
Lerna runs commands across projects in efficient order and in parallel, with caching and distribution across machines. source

Checked against the maker's pages on 30 Sept 2026.