how to check for angular cli version
ng --version
update angular cli
For updating angular cli type this command :
ng update @angular/cli @angular/core
install angular cli
npm install -g @angular/cli //make sure you have node/npm installed
ng new <appname> // eg: ng new my-app
cd <appname> // cd my-app
ng serve
install angular cli version
Install Specific Version (Example: 6.1.1)
npm install -g @angular/[email protected]
ng update @angular/core @angular/cli
rm -rf node_modules
npm uninstall --save-dev angular-cli
npm install --save-dev @angular/cli@latest
npm install
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us