Angular 9 - Installation

Angular is MVC framework building web and mobile applications, This series of posts talks about angular features with examples.

Angular 9 CLI

First Make sure that latest Nodejs is installated on your machine

Please issue 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
C:\Users\kiranbabui\AppData\Roaming\npm\ng -> C:\Users\kiranbabui\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng

> @angular/cli@9.0.5 postinstall C:\Users\kiranbabui\AppData\Roaming\npm\node_modules\@angular\cli
> node ./bin/postinstall/script.js

+ @angular/cli@9.0.5
removed 1 package and updated 23 packages in 6.677s

Once Angular 9 is installed, Check for 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: 8.3.20
Node: 10.16.3
OS: win32 x64
Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.803.20
@angular-devkit/core         8.3.20
@angular-devkit/schematics   8.3.20
@schematics/angular          8.3.20
@schematics/update           0.803.20
rxjs                         6.4.0