HomeBrew daily use

First, open the Homebrew official website

1859399-599e61e51017b486.png

Installation, open the terminal, the following paste command. (Subject to the official website)

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

Uninstall

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

Two, Homebrew basic use

  • Install any package:$ brew install <packageName>

  • Uninstall any package:$ brew uninstall <packageName>

  • Query available packages:$ brew search <packageName>

  • Update all installed packages:$ brew update

  • Updates the specified package:$ brew upgrade <packageName>

  • View the list of installed packages:$ brew list

  • View a list of files installed packages (see the file path):$ brew list <packageName>

  • View installed packages need to be updated:$ brew outdated

  • View any package information:$ brew info <packageName>

  • Open any package's official website home page:$ brew home <packageName>

  • Jump Homebrew official website:$ brew home

  • View Homebrew Version:$ brew -v

  • Homebrew help:$ brew -h / $ brew

Reproduced in: https: //www.jianshu.com/p/2fa264b93f06

Guess you like

Origin blog.csdn.net/weixin_34357436/article/details/91174908