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