angular cli with yarn code example
Example 1: yarn \angular cli
yarn global add @angular/cli
Example 2: ng cli use yarn
ng config -g cli.packageManager yarn
yarn global add @angular/cli
ng config -g cli.packageManager yarn