Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
UPGRADE & DOWNGRAGE angular-cli
// UPGRADE
ng v
sudo npm uninstall -g angular-cli
sudo npm uninstall angular-cli
sudo npm cache verify
sudo npm install -g @angular/cli@latest
sudo npm install @angular/cli@latest
// DOWNGRAGE
// old version (I'm using 6.1.5 to test)
sudo npm uninstall -g angular-cli
sudo npm uninstall angular-cli
sudo npm cache verify
sudo npm install -g @angular/cli@6.1.5
sudo npm install @angular/cli@6.1.5
ng v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment