curl: (48) An unknown option was passed in to libcurl

Viewed 38854

This is really frustrating. I keep getting this error when trying to run a standard curl command:

curl --url https://install.meteor.com | sh
curl: (48) An unknown option was passed in to libcurl

Anyone know how to fix it?

13 Answers

got this on macos, somehow curl got installed from homebrew and linked, solution was:

  • locate curl: which curl (/usr/local/bin/curl in my case)
  • remove it (unless it's already the /usr/bin one): rm /usr/local/bin/curl.

now which curl will give /usr/bin/curl

Related