change angular global version code example Example: update angular cli npm uninstall -g @angular-cli npm install -g @angular/cli@latest