Albert Yoo
Albert Yoo

Reputation: 31

Unable to install NVM on my Mac. Keeps getting curl: (7) Couldn't connect to server

As the title states, I can't seem to install NVM on my mac. I run this command:

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

but I get this

0curl: (7) Couldn't connect to server

Been stuck on this for a week now. My macbook is up to date with the latest OS.

Upvotes: 0

Views: 720

Answers (2)

Kairat
Kairat

Reputation: 800

Have you tried the commands listed in the documentation

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

or

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

Upvotes: 1

Sebastián Espinosa
Sebastián Espinosa

Reputation: 2133

open the url with the browser

https://raw.githubusercontent.com/creationix/nvm/v0.11.1/install.sh

copy all the code into a .sh file in your computer,

run chmod +x install.sh (assuming the file is called install.sh) then run ./install.sh

Upvotes: 1

Related Questions