How to install NodeJS NPM and Angular on Centos 7x

In this tutorial, How to install nodejs npm and Angular on Centos 7.

  • NodeJS is a cross-platform, opensource Javascript for server-side.
  • npm is the package management utility for Javascript.
  • Angular is an opensource Javascript front-end web.

Install NodeJS NPM and Angular

The prerequisite for NodeJS NPM and Angular.

$ sudo yum update
$ sudo yum -y install epel-release
$ sudo yum -y install gcc c++ make

Install NodeJS

$ sudo yum -y install nodejs

To install Angular

$ npm install -g @angular/cli

To start a Angular project

$ ng new <your-project>

Staring the development server

$ cd <your-project>
$ ng serve

The Angular app is access via http://localhost:8005 on your browser.

Conclusion

Thought the article, You can “install NodeJS NPM and Angular on Centos 7x” as above . I hope will this your helpful. Thank you for reading the DevopsRoles page!

About HuuPV

My name is Huu. I love technology, especially Devops Skill such as Docker, vagrant, git, and so forth. I like open-sources, so I created DevopsRoles.com to share the knowledge I have acquired. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.