Which operating system are you using:
Windows 10 Pro x64
Please describe the steps you took when trying to install Yarn and what went wrong:
Installed yarn from the MSI package from the website
yarn self-update
it's been deprecatedyarn global upgrade
or npm install -g yarn
: Didn't install yarn from npm , installed it from MSI installer, please suggest if npm install and MSI will work inter-operably or one is preferred over the otherI did google and even search the opened and closed issues, but a lot of the issues were closed without solutions. I did see a PR which was merged for one of the issues to give a nag message but I never see it, what must I do to see it?
self-update
will eventually be fixed: #1139
On Windows, you can install Yarn via Chocolatey, and then do choco upgrade yarn
to upgrade whenever a new version is available. Chocolatey essentially just downloads and runs the MSI behind the scenes.
I did see a PR which was merged for one of the issues to give a nag message but I never see it, what must I do to see it?
Yarn should check for upgrades once per day, and let you know if a new version is available.
please suggest if npm install and MSI will work inter-operably or one is preferred over the other
Installing Yarn via npm will cause weird issues, please avoid it and just use the MSI 👍
@Daniel15 thanks for the quick reply
why does yarn not have a self update or a way to update without installing additional package to update
Most helpful comment
self-update
will eventually be fixed: #1139On Windows, you can install Yarn via Chocolatey, and then do
choco upgrade yarn
to upgrade whenever a new version is available. Chocolatey essentially just downloads and runs the MSI behind the scenes.Yarn should check for upgrades once per day, and let you know if a new version is available.
Installing Yarn via npm will cause weird issues, please avoid it and just use the MSI 👍