installation

First install

Prerequisites

  • npm/nvm

  • nodejs

npm install -g @angular/cli
npm i -g @angular/cli

If have previous version installed

npm un @angular/cli -g

npm cache clean     
npm cache verify    // < npm 5

npm i -g @angular/cli

Update 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 rxjs

Upgrading RxJS

npm i -g rxjs-tslint

Last updated

Was this helpful?