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 a CentOS 7 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.
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 yum update
You can read our guide on Installing Angular on Ubuntu 16.04/18.04
Step 1: Install NodeJS
Follow the steps in our guide on installing NodeJS on CentOS 7
After successfully installing, you can confirm 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 CentOS 7 server:
sudo npm install -g @angular/cli@9
You can use the command below to check the version of Angular installed:
You have now successfully installed Angular on CentOS 8. You can now proceed to build your Angular application.