npm install -g @angular/cli version 10 code example Example: npm install -g angular cli npm install -g @angular/cli