Skip to content

Instantly share code, notes, and snippets.

@CatinhoCR
Last active February 22, 2018 22:53
Show Gist options
  • Save CatinhoCR/3790b78e54aa59aa5abb234c37d50a3d to your computer and use it in GitHub Desktop.
Save CatinhoCR/3790b78e54aa59aa5abb234c37d50a3d to your computer and use it in GitHub Desktop.
Updating angular cli globally and locally

Globally

npm uninstall -g angular-cli
npm cache clean
npm install -g @angular/cli@latest

Local Project Version

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