![]() ![]() ![]() Once the NodeJS installation is completed, type the following command to check the installed version: $ node -versionįrom the following screenshot, here, you can see that NodeJS version 10.24.0 has been installed on the CentOS 8 system. Use the following command to install a development profile of NodeJS: $ sudo yum module install nodejs/development The other Nodejs profile is the development profile, which installs some additional packages that are necessary to build the loadable modules dynamically. The above-mentioned command also installs the required NPM modules after, pressing the ‘y’ and then ‘Enter’ key. However, use the following command to install the Nodejs package on CentOS 8 system: $ sudo yum module install nodejs The one marked with is a default profile, it installs a set of common runtime packages. There are four different profiles of the NodeJS package. The following output displays on the terminal that means the NodeJS package is available with multiple streams. Use the following command to list the modules that contain the NodeJS packages: $ sudo yum module list nodejs While we are writing this tutorial, the latest available version of NodeJS is v10.x. ![]() The NodeJS modules can be installed directly from the official CentOS 8 repository. ![]() Method 1: Install NodeJS using the CentOS 8 repository
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |