Using Yarn with Angular CLI v6+

beeman 🐝
Apr 29, 2018 Β· 2 min read

Configure the package manager

ng config -g cli.packageManager yarn
ng config -g cli.packageManager cnpm
ng config -g cli.packageManager npm

Global Angular CLI config file

$ cat ~/.angular-config.json
"version": 1,
"cli": {
"packageManager": "yarn"


Need help?

beeman 🐝

Written by

Bram Borggreve β€’ Software Engineer β€’ Instructor β€’ @CodeYourFutureCO β€’ Colmena β€’ @eggheadio β€’ @IonicNederland β€’ @twiba β€’ #fullstack #JavaScript #Angular #GraphQL

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium β€” and support writers while you’re at it. Just $5/month. Upgrade