how to update yarn if I install through windows installer? how to update yarn if I install through windows installer? windows windows

how to update yarn if I install through windows installer?


The following worked for me:

npm i -g yarn


Just download the new installer and rerun the setup.


choco upgrade yarn -y

    1. open powershell as administrator
    1. run choco upgrade yarn -y

I stumble across this minutes ago, searching on the docs I found nothing but 'yarn self-update', I don't know if this is a deprecated command, but themselves do not recommend it. so I looked for the install options and it give the Chocolatey package. So just upgrade via it.