Is there any way to install the latest nodejs (version 4.2.1 or 5.0) on CentOS 7 using yum? Of course I could install it otherwise, e.g. from source, but I would like to keep it maintainable… And currently available in EPEL version is 0.10.36, see https://dl.fedoraproject.org/pub/epel/7/x86_64/repoview/nodejs.html
Install latest nodejs (4.2.1 or 5.0) on centos 7 using yum
centos7node.jsyum
Best Answer
Nodesource provides repositories for both nodejs 4x and 5x.
For example, to install the repo for the 4x branch, run as root:
Then you can install nodejs via yum:
Source: https://github.com/nodesource/distributions