Install NodeJS on Centos 7
Hello friends, in this post I am going to show how to install NodeJS on Centos 7. For do this, we need to do the following.
1.- First go to the Node download page and download it.
2.- Next uncompress the package on directory you like.
3.- Then, configures the NODE_HOME environment variable. In my case I will configure on the root account in the /etc/profile file. For this we need to log as like root user.
4. After that, you must to update the environment variables executing the source /etc/profile command in both root and user account o also we can reboot the machine.
5.- Finally, we need to test the node version with the node -v command.