Yarn 3 requires Node ≥ 12.13.0; Node.js 22 satisfies this. Yarn 3 uses PnP (Plug'n'Play) by default but can be configured to use node-modules linker for packages that don't support PnP — set `nodeLinker: node-modules` in `.yarnrc.yml`. Yarn 3 does not create a `node_modules` directory in PnP mode. Use Corepack (`corepack enable`) to manage Yarn version per project.
nodeLinker: node-modules (in .yarnrc.yml, for PnP compatibility issues)