Several common commands for homebrew under MAC terminal (Novice notes)

Source: Internet
Author: User

Recently in the study of using Appium to do iOS automation, so began to touch the Mac system. Record a few common commands for homebrew under the Mac's Terminal

  1. Install (requires Ruby, but usually comes with a band):
    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

  2. Search:brew search XXX   在安装之前可以先查询一下,是否有这个软件

  3. Query: brew info XXX mainly to see the specific information, such as the current version, dependencies, installation and other considerations

  4. View dependencies: Brew deps View package dependencies
  5. Installation:brew install XXX for installing software
  6. Update: brew update This updates Homebrew itself and makes sense for the next two actions-

  7. Check for outdated (new version): brew outdated This is a list of all installed software that can be upgraded

  8. Upgrade: brew upgrade Upgrade all the software that can be upgraded

  9. Cleanup: brew cleanup Clean up unwanted versions extremely install package cache

  

Several common commands for homebrew under MAC terminal (Novice notes)

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.