Home>

You are about to install Homebrew .
Mac OS Catalina version 10.15.1 on other Macs other than this version
I was able to install Homebrew, but this time I got an error and I'm having a problem without knowing the solution.

Error message

I tried to install by running the following command, but
I get an error saying thatcurlis not possible.

$/usr/bin/ruby ​​-e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-bash: curl: command not found

article trying to install fromcurlI entered the command with reference to
Again, it was not possible withoutbrew

$brew install curl
-bash: brew: command not foun
Supplemental information (FW/tool version etc.)

Mac OS Catalina version 10.15.1
Terminal version 2.10

  • Answer # 1

    How about introducing Xcode once as in the article?

  • Answer # 2

      

    $/usr/bin/ruby ​​-e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
      -bash: curl: command not found

      

    $brew install curl
      -bash: brew: command not found

      

    $xcode-select --install
      -bash: xcode-select: command not found

    In other words, any command executed in the terminal will result incommand not found.

    /usr/bin/xcode-select --install


    Or

    /usr/bin/ruby ​​-e "$(/ usr/bin/curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


    What happens when the command is executed with the full path specified?

    If you can execute with full path without any problems, it seems that PATH has not been set, so in.bash_profileand.bashrcCheck how your PATH is set.