

To do this, delete the segment in the curl command: curl Here you can also find the latest version of the installation script.īefore you convert the command to bash, it is advisable to test the script to make sure that it will not execute anything superfluous. Copy the curl or wget command from the README file displayed on the main page. To install NVM on CentOS 7, you need to visit the project page on GitHub.

This program allows you to simultaneously install and support different independent versions of Node.js, as well as related Node packages. You can ask Node to display the version number to check the installation: ~]# node -version When it is finished, we will install the software: sudo make install


Now we can configure and compile the software. Unpack the archive and go to the new directory: tar xzvf node-v* & cd node-v*ĭownload some packages from the CentOS repositories using yum: sudo yum install gcc gcc-c++ Then use wget and paste the link to download the archive: wget On the download page, right-click the "Source Code" link and select "Copy link address". To do this, download the code from website project. Node.js is used primarily on the server, acting as a web server, but there is an opportunity to develop in Node.js and desktop window applications (using NW.js, AppJS or Electron for Linux, Windows and Mac OS) Node.js adds the ability for JavaScript to interact with input/output devices via its API (written in C++), to connect other external libraries written in different languages, providing calls to them from JavaScript code. Node.js is a software platform that transforms JavaScript from a highly specialized language into a general-purpose language.
