Skip to content
Eugene Lazutkin edited this page Mar 24, 2026 · 2 revisions

With older versions of yarn, the prebuilt binary may not be downloaded, forcing a local build. Make sure you use a recent version:

$ yarn -v
4.9.1

If your version is 1.x (e.g., 1.22.22), switch to berry:

$ yarn set version berry
➤ YN0000: Downloading https://repo.yarnpkg.com/4.9.1/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: Saving the new release in .yarn/releases/yarn-4.9.1.cjs
➤ YN0000: Done in 0s 89ms

Clone this wiki locally