The Go Blog

angular cli use yarn

bantana
5 January 2018

angular cli

yarn:

ng set --global packageManager=yarn

npm:

ng set --global packageManager=npm

$ cat ~/.angular-cli.json

{
  "packageManager": "yarn"
}

upgrade

yarn upgrade --latest

or use interactive

yarn  upgradeInteractive --latest

Related articles