FrontEndTech
  • Introduction
  • ReactJS
    • Ecosystem
    • Refactor Using Functional Decomposition and Reducer Composition
  • AngularJS
    • installation
    • File structure
    • CLI
      • ng g
    • Fundamentals
      • Component
        • Lifecycle
        • Template
      • Decorations
      • Service
      • Pipe
      • Directives
        • NgClass
        • NgStyle
        • NgModel
        • Customized Attribute Directives
        • NgIf
        • NgFor
        • NgSwitch
        • NgForm
        • Customized Structural Directives
      • Module
        • Routing
    • Bindings
      • Property Binding
      • Event Binding
      • Data Binding
      • Attribute Binding
      • Class Binding
      • Style Binding
    • Forms
      • Reactive Form
      • Reactive vs Template
    • build
Powered by GitBook
On this page
  • Update project
  • Upgrade Angular
  • Upgrading RxJS

Was this helpful?

  1. AngularJS

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
PreviousAngularJSNextFile structure

Last updated 5 years ago

Was this helpful?