# lerna を Homebrew, Nix でインストール

lerna のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:lerna
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install lerna
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lerna
```

  証拠: nixpkgs package indexes: lerna from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## パッケージ情報

- **パッケージキー:** brew:lerna
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/lerna>
- **バージョン:** 10.0.0
- **ソース概要:** Tool for managing JavaScript projects with multiple packages
- **ホームページ:** <https://lerna.js.org>
- **上流ドキュメント:** <https://lerna.js.org>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/lerna/-/lerna-10.0.0.tgz>
- **最終更新:** 2026-07-31T09:49:17Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- lerna (cli)
- lerna (エイリアス)

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 10.0.0
- マネージャ更新日: 2026-07-31
- ローカルデータ: OK
- 上流リポジトリ: https://lerna.js.org
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Lerna is the original JavaScript and TypeScript monorepo tool, best known for coordinating package versioning and publishing across repositories containing many npm packages.

### プロジェクトの歴史

The Lerna documentation says the tool was created in the 2015/2016 era, before npm, Yarn, and pnpm had mature built-in workspace support. Early Lerna commands such as bootstrap, add, and link filled a gap by installing external dependencies and linking local packages inside a multi-package repository.

As package managers added first-class workspace support, Lerna's role narrowed. The project documentation explains that v7.0.0 removed bootstrap, add, and link by default in June 2023, and v9.0.0 fully removed those commands in September 2025 after more than two years of deprecation.

### 採用の歴史

Lerna's own introduction describes it as used by tens of thousands of projects, including React and Jest. Its adoption grew with the npm-package monorepo pattern, where maintainers needed to publish multiple related packages with coordinated or independent versions.

In May 2022, Nrwl, the company behind Nx, announced that it was taking over stewardship of Lerna. That transition tied Lerna's later development to Nx's task-running and project-graph machinery while keeping Lerna's familiar versioning and publishing workflow.

### 使われ方

Typical use starts with a repository-level lerna.json and package.json workspace configuration. Lerna can run tasks across packages, detect changed packages, bump versions, create git tags, and publish selected packages to npm.

Modern Lerna expects package managers to handle dependency installation and local linking. Lerna's maintained value is concentrated in monorepo orchestration, project graph integration, versioning, and publishing.

### パッケージ好きにとっての重要性

Lerna is historically important because it made npm monorepos practical before workspaces became boring. Package maintainers cared because it encoded the release problem: many packages, linked locally, published separately, with changelogs and git tags that had to stay coherent.

### タイムライン

- 2015/2016: Lerna was created for JavaScript monorepos before package-manager workspaces were built in.
- 2022: Nrwl announced it was taking over stewardship of Lerna.
- 2023: Lerna v7.0.0 removed bootstrap, add, and link by default.
- 2025: Lerna v9.0.0 fully removed the legacy package-management commands.

### Related projects

- Nx is the stewardship and build-system project closely associated with modern Lerna.
- npm, Yarn, and pnpm workspaces replaced Lerna's legacy package-linking commands.
- React and Jest are examples named by Lerna as projects that used it.

### ソース

- <https://lerna.js.org/docs/features/version-and-publish>
- <https://lerna.js.org/docs/introduction>
- <https://lerna.js.org/docs/legacy-package-management>
- <https://nx.dev/blog/lerna-is-dead-long-live-lerna>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: lerna.json, nx.json, package.json
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lerna
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - lerna: normalized package name match | nixpkgs package indexes: lerna from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [sherif](https://pkg.so/ja/brew/sherif/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, monorepo, typescript.
- [pnpm](https://pkg.so/ja/brew/pnpm/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, monorepo.
- [rslint](https://pkg.so/ja/brew/rslint/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, typescript.
- [angular-cli](https://pkg.so/ja/brew/angular-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript.
- [nx](https://pkg.so/ja/brew/nx/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, monorepo, typescript.
- [protoc-gen-js](https://pkg.so/ja/brew/protoc-gen-js/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript.
- [babel](https://pkg.so/ja/brew/babel/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript.
- [ncc](https://pkg.so/ja/brew/ncc/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript.
- [lerna](https://pkg.so/ja/npm/lerna/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, developer, developer-tools, javascript, lerna.
- [lerna-update-wizard](https://pkg.so/ja/npm/lerna-update-wizard/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, lerna, monorepo.
- [bit](https://pkg.so/ja/brew/bit/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, monorepo, node.
- [lerna](https://pkg.so/ja/npm/lerna/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/lerna.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lerna.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
