how to update yarn if I install through windows installer?

Shabith picture Shabith · Aug 30, 2017 · Viewed 10k times · Source

I have installed yarn via windows installer sometimes back. Now I want to update it to latest version. How can I do that?

Answer

Yossi picture Yossi · Aug 26, 2018

The following worked for me:

npm i -g yarn