How to Install Angular on Ubuntu (18.04 & 16.04)

Angular is a TypeScript-based, open-source web application framework led by the Angular Team at Google. Angular is a complete rewrite from the team that built AngularJS.

Pre-requisites

First of all, you need to install node.js on your system. If you don’t have node.js installed use the following set of commands to add


Install Node.js in Ubuntu

Installation instructions

Node.js v14.x:

Node.js v13.x:

Node.js v12.x:

Node.js v10.x:

Node.js v9.x:

Node.js v8.x:

Node.js v7.x:

Node.js v6.x:

Node.js v5.x:

Node.js v4.x:

Node.js v0.12:

Node.js v0.10:

For more info:- Link


Angular CLI & Troubleshooting

You encountered issues during the installation of the CLI or setup of a new Angular project?

A lot of problems are solved by making sure you’re using the latest version of NodeJS, npm and the CLI itself.

Updating NodeJS:

Go to nodejs.org and download the latest version – uninstall (all) installed