Mac - Can't Install HomeBrew because Curl is Missing
up vote
0
down vote
favorite
I tried to install homebrew onto my mac, but I couldn't because curl wasn't found. I typed:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
This returned this error:
-bash: curl: command not found
So, I tried to install curl but apparently to install curl, I need to use curl? This is what I found:
Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <
/dev/null 2> /dev/null
Run:
brew install curl
Done! You can now use
curl.
However, this uses curl to install curl, so it gives the same error message: -bash: curl: command not found
TL;DR, how do I install curl on mac without using curl
bash curl terminal homebrew
|
show 4 more comments
up vote
0
down vote
favorite
I tried to install homebrew onto my mac, but I couldn't because curl wasn't found. I typed:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
This returned this error:
-bash: curl: command not found
So, I tried to install curl but apparently to install curl, I need to use curl? This is what I found:
Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <
/dev/null 2> /dev/null
Run:
brew install curl
Done! You can now use
curl.
However, this uses curl to install curl, so it gives the same error message: -bash: curl: command not found
TL;DR, how do I install curl on mac without using curl
bash curl terminal homebrew
Iswgetinstalled ?
– Aserre
Nov 8 at 15:36
no I need homebrew for that which I need curl to install.
– Omaro_IB
Nov 8 at 15:37
Does/usr/bin/curlexist ?
– Aserre
Nov 8 at 15:43
this is a X -> Y problem. You need homebrew, and think you needcurlto install homebrew. The point is that you need to download from a URL, and you should consider there could be other ways to download from that URL, that is the reason @Aserre asked if it iswgetinstalled.
– bradbury9
Nov 8 at 15:50
1
"This usescurlto installcurl". That looks really weird.
– bradbury9
Nov 8 at 15:52
|
show 4 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I tried to install homebrew onto my mac, but I couldn't because curl wasn't found. I typed:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
This returned this error:
-bash: curl: command not found
So, I tried to install curl but apparently to install curl, I need to use curl? This is what I found:
Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <
/dev/null 2> /dev/null
Run:
brew install curl
Done! You can now use
curl.
However, this uses curl to install curl, so it gives the same error message: -bash: curl: command not found
TL;DR, how do I install curl on mac without using curl
bash curl terminal homebrew
I tried to install homebrew onto my mac, but I couldn't because curl wasn't found. I typed:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
This returned this error:
-bash: curl: command not found
So, I tried to install curl but apparently to install curl, I need to use curl? This is what I found:
Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <
/dev/null 2> /dev/null
Run:
brew install curl
Done! You can now use
curl.
However, this uses curl to install curl, so it gives the same error message: -bash: curl: command not found
TL;DR, how do I install curl on mac without using curl
bash curl terminal homebrew
bash curl terminal homebrew
asked Nov 8 at 15:20
Omaro_IB
176
176
Iswgetinstalled ?
– Aserre
Nov 8 at 15:36
no I need homebrew for that which I need curl to install.
– Omaro_IB
Nov 8 at 15:37
Does/usr/bin/curlexist ?
– Aserre
Nov 8 at 15:43
this is a X -> Y problem. You need homebrew, and think you needcurlto install homebrew. The point is that you need to download from a URL, and you should consider there could be other ways to download from that URL, that is the reason @Aserre asked if it iswgetinstalled.
– bradbury9
Nov 8 at 15:50
1
"This usescurlto installcurl". That looks really weird.
– bradbury9
Nov 8 at 15:52
|
show 4 more comments
Iswgetinstalled ?
– Aserre
Nov 8 at 15:36
no I need homebrew for that which I need curl to install.
– Omaro_IB
Nov 8 at 15:37
Does/usr/bin/curlexist ?
– Aserre
Nov 8 at 15:43
this is a X -> Y problem. You need homebrew, and think you needcurlto install homebrew. The point is that you need to download from a URL, and you should consider there could be other ways to download from that URL, that is the reason @Aserre asked if it iswgetinstalled.
– bradbury9
Nov 8 at 15:50
1
"This usescurlto installcurl". That looks really weird.
– bradbury9
Nov 8 at 15:52
Is
wget installed ?– Aserre
Nov 8 at 15:36
Is
wget installed ?– Aserre
Nov 8 at 15:36
no I need homebrew for that which I need curl to install.
– Omaro_IB
Nov 8 at 15:37
no I need homebrew for that which I need curl to install.
– Omaro_IB
Nov 8 at 15:37
Does
/usr/bin/curl exist ?– Aserre
Nov 8 at 15:43
Does
/usr/bin/curl exist ?– Aserre
Nov 8 at 15:43
this is a X -> Y problem. You need homebrew, and think you need
curl to install homebrew. The point is that you need to download from a URL, and you should consider there could be other ways to download from that URL, that is the reason @Aserre asked if it is wget installed.– bradbury9
Nov 8 at 15:50
this is a X -> Y problem. You need homebrew, and think you need
curl to install homebrew. The point is that you need to download from a URL, and you should consider there could be other ways to download from that URL, that is the reason @Aserre asked if it is wget installed.– bradbury9
Nov 8 at 15:50
1
1
"This uses
curl to install curl". That looks really weird.– bradbury9
Nov 8 at 15:52
"This uses
curl to install curl". That looks really weird.– bradbury9
Nov 8 at 15:52
|
show 4 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
I solved the problem!
To use bash on mac:
- Go to terminal ––> preferences
- Click on
Shells open with:and set it toCommand (complete path)
Enter one of the following:
- /bin/bash
- /bin/csh
- /bin/zsh
- /bin/zsh-4.0.4 (Mac OS X 10.2.8 or earlier)
- /bin/zsh-4.1.1 (Mac OS X 10.3 or later)
- /bin/ksh (Mac OS X 10.4 or later)
/bin/ksh worked for me
Source
1
This indicates that you've broken your PATH for bash somehow... curl is available by default in macOS - since 2001! You could just have use the full path to curl instead:/usr/bin/curl.
– Daniel Stenberg
Nov 9 at 11:23
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I solved the problem!
To use bash on mac:
- Go to terminal ––> preferences
- Click on
Shells open with:and set it toCommand (complete path)
Enter one of the following:
- /bin/bash
- /bin/csh
- /bin/zsh
- /bin/zsh-4.0.4 (Mac OS X 10.2.8 or earlier)
- /bin/zsh-4.1.1 (Mac OS X 10.3 or later)
- /bin/ksh (Mac OS X 10.4 or later)
/bin/ksh worked for me
Source
1
This indicates that you've broken your PATH for bash somehow... curl is available by default in macOS - since 2001! You could just have use the full path to curl instead:/usr/bin/curl.
– Daniel Stenberg
Nov 9 at 11:23
add a comment |
up vote
0
down vote
I solved the problem!
To use bash on mac:
- Go to terminal ––> preferences
- Click on
Shells open with:and set it toCommand (complete path)
Enter one of the following:
- /bin/bash
- /bin/csh
- /bin/zsh
- /bin/zsh-4.0.4 (Mac OS X 10.2.8 or earlier)
- /bin/zsh-4.1.1 (Mac OS X 10.3 or later)
- /bin/ksh (Mac OS X 10.4 or later)
/bin/ksh worked for me
Source
1
This indicates that you've broken your PATH for bash somehow... curl is available by default in macOS - since 2001! You could just have use the full path to curl instead:/usr/bin/curl.
– Daniel Stenberg
Nov 9 at 11:23
add a comment |
up vote
0
down vote
up vote
0
down vote
I solved the problem!
To use bash on mac:
- Go to terminal ––> preferences
- Click on
Shells open with:and set it toCommand (complete path)
Enter one of the following:
- /bin/bash
- /bin/csh
- /bin/zsh
- /bin/zsh-4.0.4 (Mac OS X 10.2.8 or earlier)
- /bin/zsh-4.1.1 (Mac OS X 10.3 or later)
- /bin/ksh (Mac OS X 10.4 or later)
/bin/ksh worked for me
Source
I solved the problem!
To use bash on mac:
- Go to terminal ––> preferences
- Click on
Shells open with:and set it toCommand (complete path)
Enter one of the following:
- /bin/bash
- /bin/csh
- /bin/zsh
- /bin/zsh-4.0.4 (Mac OS X 10.2.8 or earlier)
- /bin/zsh-4.1.1 (Mac OS X 10.3 or later)
- /bin/ksh (Mac OS X 10.4 or later)
/bin/ksh worked for me
Source
answered Nov 8 at 16:33
Omaro_IB
176
176
1
This indicates that you've broken your PATH for bash somehow... curl is available by default in macOS - since 2001! You could just have use the full path to curl instead:/usr/bin/curl.
– Daniel Stenberg
Nov 9 at 11:23
add a comment |
1
This indicates that you've broken your PATH for bash somehow... curl is available by default in macOS - since 2001! You could just have use the full path to curl instead:/usr/bin/curl.
– Daniel Stenberg
Nov 9 at 11:23
1
1
This indicates that you've broken your PATH for bash somehow... curl is available by default in macOS - since 2001! You could just have use the full path to curl instead:
/usr/bin/curl.– Daniel Stenberg
Nov 9 at 11:23
This indicates that you've broken your PATH for bash somehow... curl is available by default in macOS - since 2001! You could just have use the full path to curl instead:
/usr/bin/curl.– Daniel Stenberg
Nov 9 at 11:23
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53210773%2fmac-cant-install-homebrew-because-curl-is-missing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is
wgetinstalled ?– Aserre
Nov 8 at 15:36
no I need homebrew for that which I need curl to install.
– Omaro_IB
Nov 8 at 15:37
Does
/usr/bin/curlexist ?– Aserre
Nov 8 at 15:43
this is a X -> Y problem. You need homebrew, and think you need
curlto install homebrew. The point is that you need to download from a URL, and you should consider there could be other ways to download from that URL, that is the reason @Aserre asked if it iswgetinstalled.– bradbury9
Nov 8 at 15:50
1
"This uses
curlto installcurl". That looks really weird.– bradbury9
Nov 8 at 15:52