Search code examples
angularyarnpkg

Angular CLI with yarn


How to change package manager for Angular Cli v6.0.3 to yarn? I tried:

ng set --global packageManager=yarn

But Angular says:

get/set have been deprecated in favor of the config command.


Solution

  • ng config -g cli.packageManager yarn