Home  >  Article  >  Operation and Maintenance  >  How to install nodejs under centos7

How to install nodejs under centos7

青灯夜游
青灯夜游forward
2020-12-24 17:55:292814browse

The following article will introduce to you how to implement nodejs installation under centos7 with two lines of code. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

How to install nodejs under centos7

Related recommendations: "nodejs tutorial", "centos tutorial"

two lines Code to implement nodejs installation under centos7

Download nodejs

curl --silent --location https://rpm.nodesource.com/setup_12.x | bash -

Install nodejs

yum install -y nodejs

For more programming-related knowledge, please visit: Programming Course! !

The above is the detailed content of How to install nodejs under centos7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete