How to upgrade yarn version using terminal?

Janaka Pushpakumara picture Janaka Pushpakumara · Apr 6, 2018 · Viewed 140.1k times · Source

How should yarn be upgraded to the latest version?

Answer

sonlexqt picture sonlexqt · May 22, 2018

For macOS users, if you installed yarn via brew, you can upgrade it using the below command:

brew upgrade yarn