npm install --global @angular/cli@latest
npm uninstall --global @angular/cli
npm install --global @angular/cli@latest
sudo apt-get update sudo apt-get install git
After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory (Rhythm/Angular/ ) of the project to run the project locally or build for production use:
npm clear cache --force
npm install
ng serve
For more detailed information to install the Angular application, visit this official Angular documentation website.