Nvm: can't install nvm on centos 6

Created on 13 Nov 2017  路  5Comments  路  Source: nvm-sh/nvm

that is the error

=> Downloading nvm from git to '/root/.nvm'
=> Initialized empty Git repository in /root/.nvm/.git/
error: while accessing https://github.com/creationix/nvm.git/info/refs

fatal: HTTP request failed
Failed to clone nvm repo. Please report this!

centos SSL issue installing nvm non-issue / invalid

All 5 comments

I'd recommend not using root with nvm; but either way, this suggests you might have SSL issues.

What happens if you curl --verbose https://github.com?

you are right, ssl component was incorrect on that machine

I have the same issue right now, but found the following digging in here and there...:
Centos 6 comes with the GIT version 1.7.1 by default, and GIT option "-c" wasn't supported yet. So the only way to pass thru this issue would be upgrading git. :(

Indeed; the readme states 1.7.10 is required. Upgrading such an ancient version of git, however, should be desirable anyways.

Sure thing, just finished upgrading git to v.2.16 and after that, NVM installation script ran smoothly馃憣

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielepolencic picture danielepolencic  路  4Comments

pixelchutes picture pixelchutes  路  3Comments

reneruiz picture reneruiz  路  4Comments

watson picture watson  路  5Comments

ksmithut picture ksmithut  路  3Comments