curl -fsSL | bash -Īfter the installation of nvm, exit the current session and log in back. Install nvm by running the below command. Also, it allows you to install and use multiple versions of node.js in parallel. Nvm is a version manager for Node.js, and it helps you install Node.js per user and invokes it per shell. Sudo dnf install -y nodejs Install Node.js using NVM
Sudo dnf install -y nodejs v17.x (Latest Version) curl -fsSL | sudo bash. Sudo dnf install -y nodejs v14.x (Maintenance LTS) curl -fsSL | sudo bash. V16.x (Active LTS) curl -fsSL | sudo bash.
You can visit the official page to find the supported Node.js versions. Nodesource is a leading commercial enterprise software company, and it provides repositories for Node.js and NPM installation.Īt the time of writing this article, the below versions are suitable for production usage. sudo dnf install -y curl Install Node.js using NodeSource You may need to install the curl package before proceeding further. So, follow any one of the methods you think is easier to install Node.js. You can install Node.js using NodeSource, NVM, and Debian repository.
NVM INSTALL NODE LATEST VERSION HOW TO
Here, we will see how to install Node.js on Fedora 35 / Fedora 34. It uses an event-driven, non-blocking I/O model that makes it lightweight and effective, ideal for data-intensive real-time applications that run across distributed devices. Node.js is an open-source, cross-platform JavaScript runtime environment for developing server-side applications.