Skip to content
SPECIFICTION
Get listed

Lerna

lerna.js.org

From $29/mo Free plan WebWindowsSelf-hosted
Visit lerna.js.org
Spec score 8.1 #3 of 34 in Release automation tools

What it is

Lerna is a free, open-source build system for managing and publishing JavaScript and TypeScript packages from one repository. It runs commands across projects in an efficient order and can parallelize tasks, cache results, and distribute work across machines. When task files and terminal output are already in its computation cache, Lerna can restore them instead of rerunning the task. It manages package versioning and npm publishing, with fixed or independent versioning workflows, and includes an interactive graph for viewing workspace structure and dependencies. Lerna uses Nx to identify workspace packages and dependencies and to run scripts with parallelism, caching, and distribution. It supports npm, yarn, pnpm, and bun; dependency installation and linking should be handled through those package managers’ workspace features. Nx Cloud has a free Hobby plan, a Team plan at $29 a month, and Enterprise with custom pricing. For closed-source projects, Nx Cloud provides the first 500 computation hours per month free, then charges $1 per computation hour. Its Hobby plan includes 50,000 credits monthly, five contributors, 10 concurrent CI connections, and community support.

Spec sheet

Product
Lerna is a fast, modern build system for managing and publishing multiple JavaScript and TypeScript packages from one repository.Read 30 Sep 2026 · lerna.js.org
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.Read 30 Sep 2026 · lerna.js.org
Support
The Nx Cloud Hobby plan includes community support, while the Team plan includes email support and Enterprise includes dedicated support and SLAs.Read 30 Sep 2026 · nx.dev
Caching
Lerna restores previously executed task files and terminal output from its computation cache instead of rerunning tasks.Read 30 Sep 2026 · lerna.js.org
Dependency management
Lerna says package managers should install and link dependencies through their workspaces features rather than Lerna commands.Read 30 Sep 2026 · lerna.js.org
Editor integrations
Nx Console provides Lerna users with Visual Studio Code and JetBrains integrations for task execution, generators, project details, and workspace visualization.Read 30 Sep 2026 · lerna.js.org
Graph visualizer
Lerna includes an interactive workspace graph visualizer for understanding project architecture and dependencies.Read 30 Sep 2026 · lerna.js.org
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.Read 30 Sep 2026 · lerna.js.org
Nx integration
Lerna uses Nx to detect workspace packages and dependencies and to run scripts with parallelism, caching, and distribution.Read 30 Sep 2026 · lerna.js.org
Package managers
Lerna supports npm, yarn, pnpm, and bun as configured package managers.Read 30 Sep 2026 · lerna.js.org
Publishing
Lerna manages versioning and publishing packages to npm and supports fixed or independent versioning workflows.Read 30 Sep 2026 · lerna.js.org
Publishing security
Lerna 9.0.0 and later support npm OIDC trusted publishing so packages can publish without traditional fixed tokens.Read 30 Sep 2026 · lerna.js.org
Stewardship
Nx took over stewardship of Lerna in 2022, and Nx is an open-source MIT-licensed build system developed by ex-Googlers.Read 30 Sep 2026 · lerna.js.org
Task execution
Lerna runs commands across projects in efficient order and in parallel, with caching and distribution across machines.Read 30 Sep 2026 · lerna.js.org

Plans and prices

Hobby Free Free forever 50,000 credits monthly · 5 contributors · 10 concurrent CI connections · community support Read 30 Sep 2026 · nx.dev
Team $29 a month $29/month $29 included usage credit · $5.50 per 10,000 credits · $19 per contributor · $2.25 per concurrent CI connection · email support Read 30 Sep 2026 · nx.dev
Enterprise Priced on request Custom Conformance · circular dependency detection · cross-repository visibility · CI observability · dedicated support and SLAs · isolated and self-hosted deployment · SSO/SAML Read 30 Sep 2026 · nx.dev

Every Lerna plan and price →

Strong points and limits

Strong points

  • Runs tasks in parallel and distributes them across machines.
  • Caches task files and terminal output.
  • Supports fixed or independent package versioning.
  • Supports npm, yarn, pnpm, and bun.
  • Includes an interactive workspace graph.

Limits

  • Dependency installation and linking use package-manager workspaces.
  • Closed-source Nx Cloud usage is charged after 500 monthly hours.
  • Nx Cloud Team costs $29 a month.

Who it suits

Lerna suits developers managing multiple JavaScript or TypeScript packages in one repository. Its versioning and publishing workflows may also suit teams that release packages to npm.

Lerna in depth

Read the full write-up

Lerna is a JavaScript and TypeScript monorepo build system for teams coordinating several packages in one repository. It suits maintainers who need ordered, parallel task runs as well as versioning and npm releases. Its main limitation is deliberate: dependency installation and linking belong to the package manager, not Lerna.

Overview

Lerna combines workspace-aware task execution, computation caching, dependency-graph visibility and npm publishing. Nx now stewards the project and supplies the workspace and dependency detection behind its execution model. That combination makes Lerna a practical choice for active, growing repositories where repeated builds and release coordination consume time. A small workspace with straightforward scripts may gain less from its graph and distributed execution.

Key features

Lerna schedules commands across projects in dependency order and can run independent work in parallel. It also supports affected builds, so changes can narrow execution to projects influenced by a modification rather than rebuilding the entire repository. For large or frequently changing workspaces, that can materially reduce CI and developer wait time; for a tiny repository, the orchestration layer may be more machinery than needed.

Its computation cache stores task results and terminal output, then restores them when the relevant inputs are unchanged. Remote caching and distribution can extend that benefit across machines. Nx provides the parallelism, caching and distribution engine, so adopting Lerna also means working within Nx's workspace model.

The interactive workspace graph visualizer shows package relationships and dependencies. It is useful when architecture has become difficult to trace manually, particularly alongside affected builds. Nx Console adds Visual Studio Code and JetBrains integrations for running tasks, generating code, inspecting project details and viewing the workspace graph.

Lerna handles package versioning and npm publishing with either fixed versions shared across packages or independent versions for separate release cycles. Lerna 9.0.0 and later support npm OIDC trusted publishing, avoiding traditional fixed tokens. npm, Yarn, pnpm and Bun can remain the configured package managers; their workspace features should install and link dependencies.

For remote services, Nx Cloud stores hashed task inputs and cached results rather than source code, supports end-to-end encryption, and can be deployed in an isolated, self-hosted form through Enterprise. Open-source projects can use Nx Cloud without charge. Closed-source projects receive 500 computation hours per month before usage is charged at $1 per computation hour.

Pricing

Lerna itself is free and open source, with a free trial also offered. The associated Nx Cloud plans determine hosted caching, CI capacity and support.

Hobby

Hobby costs nothing, billed Free forever. It includes 50,000 credits monthly, five contributors, 10 concurrent CI connections and community support. It is the sensible starting point for open-source maintainers and small teams that can work within those contributor, connection and monthly-credit limits.

Team

Team costs $29 a month, billed $29/month, with $29 in included usage credit. Additional usage costs $5.50 per 10,000 credits; contributors cost $19 each and concurrent CI connections cost $2.25 each. Email support replaces community support. This fits a professional team needing more predictable service and support, but the usage, contributor and CI charges can raise the bill as the workspace or pipeline volume grows.

Enterprise

Enterprise uses custom pricing. It adds conformance, circular-dependency detection, cross-repository visibility, CI observability, dedicated support and SLAs, isolated and self-hosted deployment, and SSO/SAML. Those controls target organizations with governance, security or reliability requirements rather than individual maintainers.

Platforms

Lerna runs self-hosted, on the web and on Windows. Its package-manager integrations cover npm, Yarn, pnpm and Bun, while Nx Console supports Visual Studio Code and JetBrains environments.

Who it's for

Choose Lerna for a JavaScript or TypeScript monorepo that needs coordinated builds, selective affected runs, reusable local or remote cache results, dependency visualization and a structured npm release process. It is particularly well suited to teams maintaining many interdependent packages or distributing CI work across machines.

Look elsewhere if your primary requirement is dependency installation and linking, since Lerna intentionally leaves those operations to workspace-capable package managers. Teams unwilling to adopt Nx's execution and caching model may also prefer a simpler tool.

Pros and cons

Pros: ordered and parallel task execution handles inter-package build dependencies; caching restores files and output instead of repeating unchanged tasks; affected builds can reduce unnecessary work; fixed or independent versioning supports different release strategies; OIDC trusted publishing removes reliance on fixed npm tokens; graph visualization and editor integrations improve workspace visibility.

Cons: dependency management is outside Lerna, so another package manager remains essential; hosted capacity and support beyond Hobby can introduce contributor, CI and usage charges; the most advanced governance and deployment controls require Enterprise custom pricing; Nx is a substantial underlying dependency for teams seeking a minimal toolchain.

Alternatives

Monorepo Management Tools is a useful broader comparison when you want to weigh several workspace approaches.

Pick Nx instead when you want the underlying build system directly, with Linux and macOS support alongside Lerna's platforms and a comparable free Hobby tier.

Choose npm when public package publishing and registry access are the priority rather than monorepo task orchestration.

Melos is an alternative for teams whose workspace spans its listed Android, iOS, Linux, macOS and Windows targets.

bento is another option when stored-artifact capacity and retention are the deciding considerations.

Bun suits readers seeking an open-source JavaScript runtime and toolkit.

manypkg is a free MIT-licensed CLI alternative for package-management tasks.

pnpm is the direct choice when the package manager itself is the main requirement.

Turborepo is worth choosing when Vercel Remote Cache quotas and its free-on-Vercel pricing model fit your CI setup.

Verdict

Lerna is a strong recommendation for teams running sizable JavaScript or TypeScript monorepos that need efficient, cached builds and dependable npm release workflows. Choose it for its combination of affected execution, workspace insight and flexible publishing. Look elsewhere if you only need dependency management, want to avoid Nx, or require hosted scale and enterprise controls without accepting usage-based or custom-priced plans.

Verdict

Lerna brings multi-package task execution, caching, workspace visualization, and npm publishing together. Keep package-manager workspace features in charge of dependency installation and linking.

Where Specifiction places it

Alternatives to LernaAll alternatives →