Reputation: 335
How do I configure Angular CLI to use Yarn as the default package manager?
Upvotes: 9
Views: 6696
Reputation: 622
As of Angular CLI 6.x the correct command is
ng config --global cli.packageManager yarn
Upvotes: 25
Reputation: 209
ng set --global packageManager=yarn
Upvotes: 1