Corepack allows you to use a specific package manager version (pnpm, yarn, npm) in your Project. Starting today, you can enable experimental Corepack support.
Enable Corepack by adding
packageManager to your
package.json file and
ENABLE_EXPERIMENTAL_COREPACK=1 as an Environment Variable in your Project. Corepack is experimental and not subject to semantic versioning rules. Breaking changes or removal may occur in any future release of Node.js.
Check out the documentation as well.