✓ Works

Node.js 20 + Yarn 4: Fully Compatible

Node.js 20 + Yarn 4

Yarn 4.x requires Node ≥ 18.12.0; Node.js 20 satisfies this. Enable via `corepack enable`, then use `yarn set version stable` in your project. This is the recommended modern Yarn setup.

Related Combinations

Node.js 22 + Yarn 4 ✓ Works Node.js 20 + Yarn 1 (Classic) ✓ Works Node.js 18 + Yarn 4 ✓ Works Node.js 18 + Yarn 3 ✓ Works
Last verified: 2024-06-01  ·  Category: Node.js + Yarn