In this tutorial, we are going to learn about how to update an angular CLI to the latest stable version.
- Uninstall the previously installed version of the angular CLI (global) package by using the below command.
npm uninstall -g @angular/cli
- 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