DEV Community

Ekim Kael
Ekim Kael

Posted on

2 2

Back to yarn 1x after migrating to the 2x "Berry" version

If you are like me and wanted to test yarn 2x "Berry" and a few seconds later you were doing npm uninstall -g yarn and then npm install -g yarn but the version still was 2x, you can revert to the 1x version by doing:

yarn set version 1.22.10

(knowing that 1.22.10 is the version I want to use)
Bye 👋 ✌️

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay