How do you install Node.JS on CentOS?


 

If you have CentOS 6.x, and have enabled the EPEL repository, you can use yum to install node/npm:

$ sudo yum install npm

After the installation is complete, check to make sure node is setup properly:

$ node -v

(Should return something like v0.10.36).

If you want later versions of Node.js (e.g. 4.x, 5.x, etc.), you can use the Nodesource yum repository instead of EPEL.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

✅ วิธีติดตั้ง Composer สำหรับ User ใน DirectAdmin + CloudLinux

Composer เป็นเครื่องมือจัดการ Dependency สำหรับ PHP ที่นิยมใช้ใน Laravel, Symfony และระบบ WHMCS...

วิธีการติดตั้ง NodeJS บน DirectAdmin

วิธีกำหนดค่า NodeJS บน DirectAdmin: ขั้นตอนที่ 1: คุณลงชื่อเข้าใช้ DirectAdmin ขั้นตอนที่ 2:...