The other way of installing NodeJS and NPM is by installing them from your distribution’s official repository. Installing Node.js from the official RHEL repositories The output shows that we are running Node v18.12 which is the latest LTS release and NPM 8.19.2. Once the installation is complete, verify the version of Node.JS and NPM as shown. Therefore, to install Node.JS and npm (Node Package Manager), run the command: $ sudo dnf install nodejs -y The script adds the Nodesource repository to your system among other tasksĪt the tail end of the output, you will see some additional instructions provided on how to install Node.JS and npm. To do this, download and run the NodeSource setup script as follows. Next, we are going to install Node.JS 18.x from Nodesource. $ sudo dnf groupinstall 'Development Tools' -y These include the GCC c/c++ compiler, Perl, and Python debuggers to mention a few. Next, install the required build tools which will be required during the installation of Node.JS. To install Node.SJ from Nodesource, first, update the system packages as shown. It provides the latest versions of Node.JS and NPM. NodeSourceis a technology company that seeks to help organizations run production-ready Node.Js applications with more focus on resource usage and enhanced security and application performance. Installing Node.js from NodeSource Repository Red Hat Subscription or locally configured repository.Let us check out how to install Node.JS on RHEL 9 using each of these methods.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |