Use Homebrew in Mac OS

Source: Internet
Author: User
Tags install homebrew


HomebrewSoftware Package management can be easily implemented. It can be described in one sentence on the official website.

Homebrew makes OS X more complete. Use gem to install your gems and brew to handle their dependent packages.

Install Homebrew

Only one command is required, so easy

Ruby-e "$ (curl-fsSL https://raw.github.com/Homebrew/homebrew/go/install )"

If your Mac OS is the same as mine, it has never been installed before.Command Line ToolsDuring this period, the system will automatically prompt you to install it.


Homebrew usage

ActuallyHomebrewLike other package managers, it is very simple to use

$ brew
Example usage:
   brew [info | home | options] [FORMULA ...]
   brew install FORMULA ... // install the package
   brew uninstall FORMULA ... // uninstall the package
   brew search [foo] // search for packages
   brew list [FORMULA ...] // display a list of installed software
   brew update // update brew
   brew upgrade [FORMULA ...] // Update the package, without the package name, update all packages
   brew pin / unpin [FORMULA ...]
Troubleshooting:
   brew doctor
   brew install -vd FORMULA
   brew [--env | --config]
Brewing:
   brew create [URL [--no-fetch]]
   brew edit [FORMULA ...]
   open https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook
Further help:
   man brew
   brew home 


Reference

[1] http://brew.sh/index_zh-cn.html
[2] https://github.com/Homebrew/homebrew/wiki/Installation


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.