MAC OS Package Manager homebrew a few simple administrative commands

Source: Internet
Author: User
Tags curl

1, installation Homebrew

Paste the following command into the terminal to run:

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

Or you can login directly to the website: https://brew.sh/index_zh-cn.html, there will be instructions on how to install.


2. Basic use

(1) Installing the Software

# Brew Install pkg_name Brew Install Tmux


(2) Search software

# Brew Serarch pkg_name Brew search wget wget wgetpaste

(3) Viewing software information

# Brew Info pkg_name Brew Info wget


(4) Uninstalling the software

# Brew Uninstall Pkg_name Brew Uninstall wget


3. Update Homebrew

Brew Update


4, uninstall Homebrew

Paste the following command into the terminal to uninstall homebrew

Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

5. Official FAQ

Http://docs.brew.sh/FAQ.html



Reference:

http://www.jianshu.com/p/d229ac7fe77d


This article is from the "Wangjian it road!" "Blog, be sure to keep this provenance http://asherwang.blog.51cto.com/11255017/1929586

MAC OS Package Manager homebrew a few simple administrative commands

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.