# lerna/lerna

Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.

Repository: https://github.com/lerna/lerna
Canonical: https://ross.abutalabs.com/products/lerna
Homepage: https://lerna.js.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: lerna, monorepo, npm, package, publishing
Last push: 2026-08-19T13:42:19+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 86, longevity 100
- inputs: {"age_days": 3925, "days_push": 14, "days_rel": 14, "gap_med": 32.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 36052, forks 2265 (observed 2026-08-28T04:12:00.957996+00:00)

## What it is
Lerna is a build system and CLI for managing, versioning, and publishing multiple JavaScript/TypeScript packages from a single monorepository. Since v6 it delegates task scheduling to Nx, providing computation caching, parallel task execution, and distributed task execution across machines.

## Use cases
- manage a javascript monorepo with multiple packages
- publish multiple npm packages from one repository
- run build and test tasks across packages in the right order
- cache build results so the same code is never rebuilt twice
- run tasks only for projects affected by a PR
- version and tag packages automatically with semantic version bumps
- speed up CI by distributing tasks across multiple machines

## When to choose
- you maintain many JavaScript/TypeScript packages in a single repository
- you need automated version bumping and npm publishing workflows
- you want fast, cached, order-aware task execution powered by Nx
- you want to run commands only against changed or affected packages

## When to avoid
- you have a single-package repository with no monorepo needs
- you rely on another monorepo tool like Nx directly, Turborepo, or pnpm workspaces alone
- you need language support beyond the JavaScript/TypeScript ecosystem

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, package-manager, ci-cd, developer-tools
- domain: developer-tools, web-development, version-control
- platform: cli, cross-platform
- tags: monorepo, npm-publishing, task-runner, nx, workspaces, versioning, build-caching, distributed-task-execution, javascript, nodejs

## Member repositories
- lerna/lerna (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:00.957996+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:26:43.883822+00:00, confidence not recorded.
  - readme: https://github.com/lerna/lerna (fetched 2026-08-28T04:12:00.957996+00:00, sha 7e4283d2ba05)
  - homepage: https://lerna.js.org (fetched 2026-08-29T07:48:16.413709+00:00, sha 34f903ce3915)
  - site_page: https://lerna.js.org/docs/introduction (fetched 2026-08-29T07:48:16.423456+00:00, sha b83e9869a2dc)
  - site_page: https://lerna.js.org/docs/getting-started (fetched 2026-08-29T07:48:16.425850+00:00, sha 235ef5a91b69)
  - site_page: https://lerna.js.org/docs/lerna-and-ai (fetched 2026-08-29T07:48:16.428045+00:00, sha 6a10d22fbd20)
  - site_page: https://lerna.js.org/docs/features/run-tasks (fetched 2026-08-29T07:48:16.430065+00:00, sha 5273b3048a52)
  - site_page: https://lerna.js.org/docs/features/version-and-publish (fetched 2026-08-29T07:48:16.432078+00:00, sha 4a4055a37eec)
  - site_page: https://lerna.js.org/docs/features/cache-tasks (fetched 2026-08-29T07:48:16.434346+00:00, sha 6e05c636db0e)
  - site_page: https://lerna.js.org/docs/features/distribute-tasks (fetched 2026-08-29T07:48:16.436811+00:00, sha fd8164e26dea)
  - site_page: https://lerna.js.org/docs/troubleshooting (fetched 2026-08-29T07:48:16.439442+00:00, sha 037845739ad9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
