by Sai gowtham

How to update angular CLI version to the latest

In this tutorial, we are going to learn about how to update an angular CLI to the latest stable version.

Updating the Angular CLI

  1. Uninstall the previously installed version of the angular CLI (global) package by using the below command.
npm uninstall -g @angular/cli
  1. Run the following command to install the latest version.
npm install -g @angular/cli@latest

Note: If you are using mac then you need to add sudo before the npm.

Top Udemy Courses

JavaScript - The Complete Guide 2020 (Beginner + Advanced)
JavaScript - The Complete Guide 2020 (Beginner + Advanced)
26,545 students enrolled
52 hours of video content
View Course
React - The Complete Guide (incl Hooks, React Router, Redux)
React - The Complete Guide (incl Hooks, React Router, Redux)
221,520 students enrolled
44 hours of video content
View Course
Vue JS 2 - The Complete Guide (incl. Vue Router & Vuex)
Vue JS 2 - The Complete Guide (incl. Vue Router & Vuex)
114,575 students enrolled
21 hours of video content
View Course