Command-line tool
yarn
brew/yarn
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
JavaScript package manager npm javascript package-manager yarn
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id Yarn.Yarn -e
macOS
brew install yarn
Install a module globally
yarn global add module_name
Install all dependencies referenced in the `package.json` file (the `install` is optional)
yarn install
Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency)
yarn add module_name@version
Related command-line tools
- volta
JavaScript toolchain manager for reproducible environments develop development 开发 javascript nodejs js node nvm… - @backstage/cli-module-package-manager-yarn
CLI module for Yarn package manager commands - hadoop
Framework for distributed processing of large data sets - corepack
Package acting as bridge between Node projects and their package managers cross-platform develop development… - ni
Selects the right Node package manager based on lockfiles - bun
Incredibly fast JavaScript runtime, bundler, test runner, and package manager rust react typescript npm javascript… - Bun Profile
JavaScript runtime and toolkit. Includes a bundler, a test runner, and a package manager. rust react typescript npm… - Bun Baseline Profile
JavaScript runtime and toolkit. Includes a bundler, a test runner, and a package manager. rust react typescript npm…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents