Closed bjarthur closed 10 years ago
What was the error? Did you not have a curl
command?
Unless the script changed to try and execute itself, that should have worked if chmod +x
worked..
i have curl installed. the problem seems to be that curl is not retrieving any content
$ curl https://raw.github.com/creationix/nvm/master/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
You are right! curl -O https://raw.github.com/creationix/nvm/master/install.sh
gives curl: Remote file name has no length!
. Seems that url redirects to https://raw.githubusercontent.com/creationix/nvm/master/install.sh
and curl doesn't follow redicts by default. I'll change the docs to add -L
flag to curl. Thanks!
in "step 1: install dev tools", this command does not work as expected on OS X 10.9.4:
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
i had to manually cut and paste the install.sh into a file and chmod u+x it.