How to install Homebrew on OS X?

后端 未结 13 1279
花落未央
花落未央 2020-12-07 08:13

I\'m trying to install Homebrew on OS X.

According to the Homebrew site I should type

brew install wget

and all I get is

         


        
13条回答
  •  伪装坚强ぢ
    2020-12-07 08:29

    It's on the top of the Homebrew homepage.

    From a Terminal prompt:

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

    The command brew install wget is an example of how to use Homebrew to install another application (in this case, wget) after brew is already installed.

    Edit:

    Above command to install the Brew is migrated to:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    

提交回复
热议问题