-
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Open a terminal window and paste the above script.
The script will explain what it does and then perform the installation with your confirmation. See here for advanced installation options (requires 10.5).
-
What Does Homebrew Do?
Are you saying that the kit is missing again? Don't worry, Homebrew is always on hand .
reference:http://brew.sh/index_zh-cn.html
$ brew install wget
-
Homebrew will install the package into a separate directory and softlink the files to
/usr/local
.$ cd /usr/local $ find Cellar Cellar/wget/1.16.1 Cellar/wget/1.16.1/bin/wget Cellar/wget/1.16.1/share/man/man1/wget.1 $ ls -l bin bin/wget -> ../Cellar/wget/1.16.1/bin/wget
-
All of Homebrew's files are installed into predefined directories, so you don't need to worry about where Homebrew is installed.
-
Easily create your Homebrew programs.
$ brew create https://foo.com/bar-1.0.tgz Created /usr/local/Library/Formula/bar.rb
-
With git and ruby as its backbone, with your relevant knowledge, you can modify it freely, and you can simply withdraw your adjustments or merge upstream updates.
$ brew edit wget # 使用 $EDITOR 编辑!
-
Homebrew programs are simple Ruby scripts:
class Wget < Formula homepage "https://www.gnu.org/software/wget/" url "https://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz" sha256 "52126be8cf1bddd7536886e74c053ad7d0ed2aa89b4b630f76785bac21695fcd" def install system "./configure", "--prefix=#{prefix}" system "make", "install" end end
-
Homebrew makes OS X even better. Use to
gem
install gems and get those dependencies.brew
-
more documentation
mac get Homebrew
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326940546&siteId=291194637
Ranking