yarn global add !== yarn add global_Angular CLIyarn global add !== yarn add global yarn does not exist the `--global` flag, but exits `yarn global` command Angular CLI



yarn global add !== yarn add global

yarn does not exist the ​​--global​​​ flag, but exits ​​yarn global​​ command

yarn global add !== yarn add global_Angular CLI_02

# yarn global add !== yarn add global

# ✅
$ yarn global add @angular/cli
{
"dependencies": {
"@angular/cli": "^10.0.8",
}
}


yarn global add !== yarn add global_Angular CLI

# yarn global add !== yarn add global

# ❌
$ yarn add global @angular/cli
{
"dependencies": {
"@angular/cli": "^10.0.8",
"global": "^4.4.0"
}
}


refs

​https://classic.yarnpkg.com/en/docs/cli/global/​

​https://classic.yarnpkg.com/en/docs/cli/add​

Angular CLI

​https://angular.io/cli​



​ ​



©xgqfrms 2012-2020



xgqfrms