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