Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the recommended way to keep yarn updated? #2876

Closed
dheerajbhaskar opened this issue Mar 9, 2017 · 3 comments
Closed

What is the recommended way to keep yarn updated? #2876

dheerajbhaskar opened this issue Mar 9, 2017 · 3 comments

Comments

@dheerajbhaskar
Copy link

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

How do I update yarn? Following are non-working solutions:

  • yarn self-update it's been deprecated
  • yarn 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 other

Background

I 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?

@Daniel15
Copy link
Member

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 👍

@dheerajbhaskar
Copy link
Author

@Daniel15 thanks for the quick reply

@timekarma
Copy link

why does yarn not have a self update or a way to update without installing additional package to update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants