Can I install node.js 18 on Centos 7 and do I need python 3 install too?

Issue

I’m not sure if node.js 18 supports centos 7 and is it a requirement to install python 3 for node.js 18?

Solution

Step 1 – curl --silent --location https://rpm.nodesource.com/setup_18.x | sudo bash -

Step 2 – sudo yum -y install nodejs

I don’t think you need Python 3.

Reference – https://computingforgeeks.com/install-node-js-on-centos-rhel-rocky-linux/

Answered By – Nik

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published