Angular 13 CLI
First Make sure that the latest Nodejs is installed on your machine
Please issue the following commands
C:\Users>node --version
v10.16.3
C:\Users>npm --version
6.13.4
Angular CLI installation
D:\Angular 9 tutorials>npm install -g @angular/cli
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
C:\Users\Renuka i\AppData\Roaming\npm\ng -> C:\Users\Renuka i\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng
> @angular/[email protected] postinstall C:\Users\Renuka i\AppData\Roaming\npm\node_modules\@angular\cli
> node ./bin/postinstall/script.js
+ @angular/[email protected]
removed 1 package and updated 23 packages in 6.677s
Once Angular 9 is installed, Check for the version to make sure that angular 9 CLI is installed. install typescript
npm i -g typescript
Checking CLI installation
ng --version
Output is
C:\Users\>ng --version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 13.0.3
Node: 14.17.0
Package Manager: npm 8.12.0
OS: win32 x64
Angular: undefined
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1300.3 (cli-only)
@angular-devkit/core 13.0.3 (cli-only)
@angular-devkit/schematics 13.0.3 (cli-only)
@schematics/angular 13.0.3 (cli-only)
typescript 3.6.3