Angular Installation on Ubuntu

3 min read
Last updated at: Jul 27 2021

Developers Installation Prerequisite

Requirements

 

  • Visual Studio code or Webstorm (IDE)
  • Node Js
  • NPM
  • Angular CLI

 

Step 1: Install Visual studio code

 

Use following link you can install VS code

 

How to Install Visual Studio Code on Ubuntu 18.04

 

Step 2: Install Node JS 

 

 Use Following command on your terminal 

 

$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

$ sudo apt-get install -y nodejs

 

Check Node JS is installed or not using following command

 

$ node -v

 

Step 3: Install NPM(Node Package Manager)

 

$ sudo npm install npm@latest -g

 

Step 4: Install Angular CLI(Command Line Interface)

 

$ sudo npm install -g @angular/cli

 

If you want specific version

 

$ sudo npm install -g @angular/cli@12.1.1

$ sudo npm install -g @angular/cli@10

$ sudo npm install -g @angular/cli@8

 

If you want to check Angular CLI is installed or not

 

$ ng -version