yarn global add !== yarn add global yarn does not exist the `--global` flag, but exits `yarn global` command Angular CLI
yarn does not exist the
--global
flag, but exits yarn global
command
# yarn global add !== yarn add global
# ✅
$ yarn global add @angular/cli
{
"dependencies": {
"@angular/cli": "^10.0.8",
}
}
# 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
©xgqfrms 2012-2020
xgqfrms