yarn global add @angular/cli@latest
yarn global remove @angular/cli
yarn global add @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 (Sliced/Angular/ ) of the project to run the project locally or build for production use:
yarn cache clean --force
yarn
ng serve
For more detailed information to install the Angular application, visit this official Angular documentation website.