It'll show you list of yarn version like this. Therefore, using windows "Add or remove programs", I removed yarn manually which made the old version (on Program Files) to be removed leaving just the AppData one (latest version at this time: 1.22.4).Īs the people developing yarn suggest, I suppose things are less likely to go wrong using the installer.įirsly, you need to know the version you wanted, using npm view yarn versions Previously it was only installed in Program Files and after yarn global add yarn the new version went to AppData, but according to yarn -v the one being used was still the old one. Installing Yarn via Yarn will result in you having two separate versions of Yarn installed at the same time, which is not recommended.Īnd indeed, by doing where yarn: C:\Program Files (x86)\Yarn\bin\yarnĬ:\Users\USER\AppData\Local\Yarn\bin\yarnĬ:\Users\USER\AppData\Local\Yarn\bin\yarn.cmdĬ:\Users\USER\AppData\Roaming\npm\yarn.cmd With the former it remained at the old version (as the question states) and the latter gave the warning: Neither through the npm solution nor with yarn global command I could get it properly updated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |