Install yarn on windows 2020
Tired of errors from
npm, i now want errors from
(Check your version:
I have version
Install if needed, or upgrade.
(e.g. Install node on windows subsystem for linux / ubuntu);
Get-Command node tells me node is here:
(Some say to upgrade node with
nvm but that is for linux/apple only.
nvmw is a different and now outof date attempt for windows. this one is newer: https://github.com/coreybutler/nvm-windows maybe it will work.)
(i found i had it in chocolatey. upgrade node with with
Install yarn with chocolatey....
From admin window:
choco install yarn
Ah... I think that worked.
Common yarn commands
Start a package
Install what needs installing
yarn yarn install
Add a package (pick a technique..) yarn add [package] yarn add [package]@[version] yarn add [package]@[tag]