{"repo":"nodejs/corepack","free":true,"listed":false,"github":"https://github.com/nodejs/corepack","clone":"git clone https://github.com/nodejs/corepack.git","description":"Package manager version manager for Node.js projects","language":"TypeScript","stars":3784,"topics":["yarn","pnpm","npm","nodejs"],"license":"MIT","category":"dev-tools","readme_excerpt":"corepack Corepack is a zero-runtime-dependency Node.js script that acts as a bridge between Node.js projects and the package managers they are intended to be used with during development. In practical terms, Corepack lets you use Yarn, npm, and pnpm without having to install them . How to Install Default Installs Corepack is distributed with Node.js from version 14.19.0 up to (but not including) 25.0.0. Run corepack enable to install the required Yarn and pnpm binaries on your path. Manual Installs Install Corepack using npm First uninstall your global Yarn and pnpm binaries (just leave npm). In general, you'd do this by running the following command: Then install Corepack: We do acknowledge the irony and overhead of using npm to install Corepack, which is at least part of why the preferred option is to use the Corepack version that is distributed along with Node.js itself. Update Corepack using npm To install the latest version of Corepack, use: If Corepack was installed on your system using a Node.js Windows Installer .msi package then you might need to remove it before attempting to install a different version of Corepack using npm. You can select the Modify option of the Node.js app settings to access the Windows Installer feature selection, and on the \"corepack manager\" feature of the Node.js .msi package by selecting \"Entire feature will be unavailable\". See Repair apps and programs in Windows for instructions on accessing the Windows apps page to modify settings. Insta","default_branch":null,"files":null,"tree":[],"storefront":"/r/nodejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nodejs/corepack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}