Node.js is a powerful open source JavaScript runtime built on Chrome’s V8 JavaScript engine for building fast and scalable network applications. Node.js 18 is available for Testers and guys who like working with the current latest releases of Node.js. This guide will cover how you can install Node.js 18 on CentOS 7 / Fedora 37/36/35/34/33 Linux systems

install nodejs ubuntu 18.04 debian 9

Install Node.js 18 on CentOS 7 / Fedora 37/36/35/34/33

We’ll install Node.js 18 on CentOS 7 / Fedora from the NodeSource Node.js Binary Distributions.

Just run the command below to setup the repository required.

curl -sL https://rpm.nodesource.com/setup_18.x | sudo bash -

Once the repository is added, run the commands below to install Node.js 18 on CentOS 7 / Fedora together with npm.

sudo yum -y install gcc-c++ make nodejs

Confirm the Node.js version available in your system.

$ node -v
v18.13.0

Installing development tools to build native Node.js addons:

sudo yum install make gcc-c++

To install the Yarn package manager, run:

curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo yum install yarn

Enjoy your Node.js development on CentOS 7 & Fedora Linux systems.

Similar guides.

YOU CAN SUPPORT OUR WORK WITH A CUP OF COFFEE


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

LEAVE A REPLY

Please enter your comment!
Please enter your name here