install nvm & set up bitcore over centos 7

1.curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash

After running the above command, you may receive output similar to the following:
Close and reopen your terminal to start using nvm

We can quickly verify that NVM is now installed and working properly with the following command:
nvm –version

2. nvm install v4
Now using node v4.8.6 (npm v2.15.11)
node -v & npm -v check same version number.

or
here is a quick and easy way how to install the current Node.js 4.x LTS
# Install the repository
rpm -Uvh https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm

# Install Node.js
yum install nodejs
3. npm install -g bitcore

Leave a Reply

Your email address will not be published. Required fields are marked *