Updating Angular CLI version to create latest version angular app

First to check your Angular version you need follow these steps -

1- go to your Angular app folder
2- open node_module folder
3- open @angular/core folder

Here you will find a file named "package.json". Search for "version". Now will know the version of your angular app.

If you want to create latest Angular App then you need to install latest angular CLI.

So for installing the latest Angular CLI you need to follow these steps.

1- Remove the old Angular CLI by "npm uninstall -g @angular/cli"
2- Now clear the cache by "npm cache clean"
3- To install new angular-cli "npm install -g @angular/cli@latest"

It's done. Now you can create latest Angular Apps.

Thank you very much

Comments

Popular Posts