Created
October 23, 2018 14:03
-
-
Save leolanese/92df7a108cc2d73e0bae2732402572ed to your computer and use it in GitHub Desktop.
UPGRADE & DOWNGRAGE angular-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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/[email protected] | |
sudo npm install @angular/[email protected] | |
ng v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment