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

How to install nodejs under centos7

青灯夜游
Release: 2020-12-24 17:55:43
forward
2894 people have browsed it

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 -
Copy after login

Install nodejs

yum install -y nodejs
Copy after login

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!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template