npm uninstall angular cli version code example Example: remove angular cli npm uninstall -g @angular/cli npm cache clean --force