Centos 7 offers NodeJS and NPM via yum install
. While this is great, it's not optimal because it pins
users to the version offered via yum. Moreover, a yum update
can easily upgrade the NodeJS version leading to all
kinds of breaking. Not what we want.
Luckily, nvm can help us.
In the same vain as rbenv
, rvm
or plenv
: this is a version manager that leaves the "system" node installation
alone and allows you to install and manage different versions of nodejs and npm concurrently.