# Install yarn with npm

📦🐈 Fast, reliable, and secure dependency management. Version 1.22.22 via npm; verified 2024-03-09.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:yarn
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/yarn>
- **Version:** 1.22.22
- **Source summary:** 📦🐈 Fast, reliable, and secure dependency management.
- **Homepage:** <https://github.com/yarnpkg/yarn#readme>
- **Repository:** <https://github.com/yarnpkg/yarn>
- **Upstream docs:** <https://github.com/yarnpkg/yarn#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://registry.npmjs.org/yarn/-/yarn-1.22.22.tgz>
- **Issue tracker:** <https://github.com/yarnpkg/yarn/issues>
- **Published:** 2024-03-09T21:35:40.868Z
- **Last updated:** 2024-03-09T21:35:40.868Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- yarn (cli)
- yarnpkg (cli)

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: preinstall
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.22.22
- Package-manager updated: 2024-03-09
- Local data: ok
- Upstream repository: https://github.com/yarnpkg/yarn
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for yarn. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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

## Other Package-Manager Records

- 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.4: normalized package name match | openSUSE Tumbleweed package metadata: yarn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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','wiztree'
- 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-18.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Fast, reliable, and secure dependency management. | https://github.com/yarnpkg/yarn


## Related links

- [Package ecosystem packages](https://www.automicvault.com/pkg/package-ecosystem-tools/) - Matched curated package taxonomy and local package facts.
- [yarn](https://www.automicvault.com/pkg/brew/yarn/) - Same normalized package name appears in another local ecosystem. Shared terms: yarn, yarnpkg.
- [corepack](https://www.automicvault.com/pkg/npm/corepack/) - Executable or command metadata overlaps with this package. Shared terms: yarn, yarnpkg.
- [midgard-yarn](https://www.automicvault.com/pkg/npm/midgard-yarn/) - Local package facts share a topical domain. Shared terms: dependency, fast, management, reliable, secure.
- [yarn](https://www.automicvault.com/pkg/brew/yarn/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
