Created
November 27, 2017 18:04
-
-
Save Makiah/cac58b0b9c69acb9161a57fa36890b34 to your computer and use it in GitHub Desktop.
Updates the Angular project version (both global CLI and local)
This file contains 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
#! /bin/bash | |
# Based on https://stackoverflow.com/questions/43931986/how-to-upgrade-angular-cli-to-the-latest-version | |
npm uninstall -g angular-cli | |
npm cache clean | |
npm install -g @angular/cli@latest | |
rm -rf node_modules | |
npm uninstall --save-dev angular-cli | |
npm install --save-dev @angular/cli@latest | |
npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment