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:






  1. Run in Terminal app:



    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <
    /dev/null 2> /dev/null



  2. 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










share|improve this question






















  • 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












  • 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






  • 1




    "This uses curl to install curl". That looks really weird.
    – bradbury9
    Nov 8 at 15:52















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:






  1. Run in Terminal app:



    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <
    /dev/null 2> /dev/null



  2. 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










share|improve this question






















  • 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












  • 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






  • 1




    "This uses curl to install curl". That looks really weird.
    – bradbury9
    Nov 8 at 15:52













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:






  1. Run in Terminal app:



    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <
    /dev/null 2> /dev/null



  2. 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










share|improve this question













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:






  1. Run in Terminal app:



    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <
    /dev/null 2> /dev/null



  2. 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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 8 at 15:20









Omaro_IB

176




176












  • 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












  • 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






  • 1




    "This uses curl to install curl". That looks really weird.
    – bradbury9
    Nov 8 at 15:52


















  • 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












  • 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






  • 1




    "This uses curl to install curl". 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












1 Answer
1






active

oldest

votes

















up vote
0
down vote













I solved the problem!



To use bash on mac:




  1. Go to terminal ––> preferences

  2. Click on Shells open with: and set it to Command (complete path)


  3. 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






share|improve this answer

















  • 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













Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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

























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:




  1. Go to terminal ––> preferences

  2. Click on Shells open with: and set it to Command (complete path)


  3. 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






share|improve this answer

















  • 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

















up vote
0
down vote













I solved the problem!



To use bash on mac:




  1. Go to terminal ––> preferences

  2. Click on Shells open with: and set it to Command (complete path)


  3. 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






share|improve this answer

















  • 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















up vote
0
down vote










up vote
0
down vote









I solved the problem!



To use bash on mac:




  1. Go to terminal ––> preferences

  2. Click on Shells open with: and set it to Command (complete path)


  3. 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






share|improve this answer












I solved the problem!



To use bash on mac:




  1. Go to terminal ––> preferences

  2. Click on Shells open with: and set it to Command (complete path)


  3. 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







share|improve this answer












share|improve this answer



share|improve this answer










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
















  • 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




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Landwehr

Reims

Schenkenzell