Angular is a TypeScript-based open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations. Angular is a complete rewrite from the same team that built AngularJS.

In this guide, we will install Angular on an Ubuntu 16.04/18.04 server.

Deploying your cloud server
If you have not already registered with Cloudwafer, you should begin by getting signed up. Take a moment to create an account after which you can easily deploy your own cloud servers.

Once you have signed up, log into your Cloudwafer Client Area with the password provided in your mail and deploy your Cloudwafer cloud server.

Updating System Packages
It is always recommended that you update the system to the latest packages before beginning any major installations. This is done with the command below:

sudo apt-get update && sudo apt-get upgrade

You can read our guide on Installing Angular on CentOS 7

Step 1: Install NodeJS
Follow the steps in our guide on installing NodeJS on Ubuntu 16.04/18.04

You can check the versions of nodejs with the command below:

node --version
npm --version

Step 2: Install Angular/CLI
Next, issue the command below to install Angular/CLI on your Ubuntu 16.04/18.04 server:

sudo npm install -g @angular/cli

You can use the command below to check the version of Angular installed:

ng --version

You have now successfully installed Angular on Ubuntu 16.04/18.04. You can now proceed to build your Angular application.