npm i -g -- https://registry.npmjs.org/@angular/cli @angular/cli code example Example: npm install -g angular cli npm install -g @angular/cli