installation
First install
Prerequisites
npm/nvm
nodejs
npm install -g @angular/cli
npm i -g @angular/cliIf have previous version installed
npm un @angular/cli -g
npm cache clean
npm cache verify // < npm 5
npm i -g @angular/cliUpdate project
Upgrade Angular
update global @angular/cli first
ng update @angular/cli
#Try running "ng update @angular/cli" twice it will update angular-cli.json to anglar.json
ng update @angular/core
ng update rxjsUpgrading RxJS
npm i -g rxjs-tslintLast updated
Was this helpful?