Rafael Fraga Walter
Rafael Fraga Walter

Reputation: 335

How do I configure Yarn as the default package manager for Angular CLI?

How do I configure Angular CLI to use Yarn as the default package manager?

Upvotes: 9

Views: 6696

Answers (2)

Denys Vuika
Denys Vuika

Reputation: 622

As of Angular CLI 6.x the correct command is

ng config --global cli.packageManager yarn

Upvotes: 25

standby954
standby954

Reputation: 209

ng set --global packageManager=yarn

Upvotes: 1

Related Questions