# yarn を npm でインストール

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

## インストール

```sh
sudo av install npm:yarn
```

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

### ポータブルおよび言語マネージャ

- npm (100%):

```sh
npm install -g yarn
```

  証拠: local npm package metadata

## パッケージ情報

- **パッケージキー:** npm:yarn
- **パッケージマネージャ:** npm
- **パッケージマネージャページ:** <https://www.npmjs.com/package/yarn>
- **バージョン:** 1.22.22
- **ソース概要:** 📦🐈 Fast, reliable, and secure dependency management.
- **ホームページ:** <https://github.com/yarnpkg/yarn#readme>
- **リポジトリ:** <https://github.com/yarnpkg/yarn>
- **上流ドキュメント:** <https://github.com/yarnpkg/yarn#readme>
- **ライセンス:** BSD-2-Clause
- **ソースアーカイブ:** <https://registry.npmjs.org/yarn/-/yarn-1.22.22.tgz>
- **課題トラッカー:** <https://github.com/yarnpkg/yarn/issues>
- **公開日:** 2024-03-09T21:35:40.868Z
- **最終更新:** 2024-03-09T21:35:40.868Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- yarn (cli)
- yarnpkg (cli)

## インストール挙動

- post-install フック: 未定義
- npm ライフサイクルスクリプト: preinstall
- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.22.22
- マネージャ更新日: 2024-03-09
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/yarnpkg/yarn
- 警告: The package-manager record has not been updated in over a year.
- 情報: No cached GitHub release or tag data was available.

## セキュリティノート

yarn に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** npm registry
- **Dist Tags:** Berry: 2.4.3, Latest: 1.22.22, Legacy: 1.21.1, Rc: 1.22.0
- **Version Count:** 120
- **Maintainers:** arcanis
- **Publisher:** arcanis
- **Engines:** Node: >=4.0.0
- **Integrity:** sha512-prL3kGtyG7o9Z9Sv8IPfBNrWTDmXB4Qbes8A9rEzt6wkJV8mUvoirjU0Mp3GGAU06Y0XQyA3/2/RQFVuK7MTfg==
- **Shasum:** ac34549e6aa8e7ead463a7407e1c7390f61a6610
- **Unpacked Size:** 5,340,487
- **File Count:** 0
- **Created At:** 2012-03-21T17:54:19.255Z
- **Latest Published At:** 2024-03-09T21:35:40.868Z
- **Modified At:** 2025-11-27T07:52:42.118Z

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

- Nix - yarn: normalized package name match | nixpkgs package indexes: pkgs/by-name/ya/yarn/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - yarn - 1.22.22-r1: normalized package name match | Alpine Linux edge package indexes: yarn from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, reliable, and secure dependency management for Node.js | https://classic.yarnpkg.com/
- pacman - yarn - 1.22.22-2: normalized package name match | Arch Linux sync databases: yarn from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast, reliable, and secure dependency management | https://classic.yarnpkg.com/
- zypper - yarn - 1.22.22-1.5: normalized package name match | openSUSE Tumbleweed package metadata: yarn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | 📦🐈 Fast, reliable, and secure dependency management | https://github.com/yarnpkg/yarn/releases
- MacPorts - yarn: normalized package name match | MacPorts ports tree: devel/yarn/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - yarn: normalized package name match | Chocolatey community package catalog: yarn from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-2204'
- Scoop - main/yarn: normalized package name match | Scoop official bucket manifest trees: bucket/yarn.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Yarn.Yarn: normalized package name match | Windows Package Manager source index: Yarn.Yarn from https://cdn.winget.microsoft.com/cache/source.msix
- Debian apt - yarnpkg - 4.1.0+dfsg-1: installed executable or alias match | Debian stable package indexes: yarnpkg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, reliable, and secure dependency management | https://github.com/yarnpkg/berry
- Ubuntu apt - yarnpkg - 1.22.19+~cs24.27.18-4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: yarnpkg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast, reliable and secure npm alternative | https://github.com/yarnpkg/yarn
- dnf - yarnpkg - 1.22.22-19.fc45: installed executable or alias match | Fedora Rawhide package metadata: yarnpkg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Fast, reliable, and secure dependency management. | https://github.com/yarnpkg/yarn


## 関連リンク

- [Package ecosystem packages](https://pkg.so/ja/package-ecosystem-tools/) - Matched curated package taxonomy and local package facts.
- [yarn](https://pkg.so/ja/brew/yarn/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, dependencies, developer, developer-tools, manager.
- [midgard-yarn](https://pkg.so/ja/npm/midgard-yarn/) - Local package facts share a topical domain. Shared terms: cli, dependencies, dependency, developer, developer-tools.
- [corepack](https://pkg.so/ja/npm/corepack/) - Executable or command metadata overlaps with this package. Shared terms: cli, developer, developer-tools, management, package-management.
- [yarn](https://pkg.so/ja/brew/yarn/) - Same normalized package name exists in another local package ecosystem.

## ソース

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
