We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Learn how to – Install Node.js 18 on CentOS 7 / Fedora 38/37/36/35/34

Learn how to – Install Node.js 18 on CentOS 7 / Fedora 38/37/36/35/34.

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 38/37/36/35/34/33 Linux systems

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

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

On CentOS 7

Install Snap using the guide in the following article:

Then use snap command to install Node.js 18 on CentOS 7

$ sudo snap install node --classic --channel=18
node (18/stable) 18.16.0 from OpenJS Foundation (iojs✓) installed

Validate installation:

$ node -v
v18.16.0

On Fedora

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.16.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 -y install yarn

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

Similar guides.

Cart

Your Cart is Empty

Back To Shop