install npm install -g @angular/[email protected] code example Example: npm install -g angular cli npm install -g @angular/cli