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