HomeBrew, what are the commands commonly used by the manager of the macOS software package
This article mainly introduces "what commands are commonly used in the manager of HomeBrew, macOS software packages". In daily operation, I believe that many people have doubts about the commands commonly used in the managers of HomeBrew and macOS software packages. I have consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "what commands are commonly used in the manager of HomeBrew and macOS software packages". Next, please follow the editor to study!
What is HomeBrew?
Homebrew is a software package management tool under the Mac OS platform, which has many practical functions, such as installation, uninstall, update, view, search and so on. A simple instruction, you can achieve package management, without you to care about various dependencies and file paths, very convenient and fast.
II. Installation
The installation method given on the official website: paste the following command to the terminal
/ usr/bin/ruby-e "$(curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
However, limited by the network environment, the download speed is very slow, you can also use the following command:
/ bin/zsh-c "$(curl-fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
Uninstall command:
Cd `brew-- prefix`rm-rf Cellarbrew prunerm `git ls- files`rm-r Library/Homebrew Library/Aliases Library/Formula Library/Contributionsrm-rf .gitrm-rf ~ / Library/Caches/Homebrew 3. Use [Common commands]
View help command: brew help
Install any package: brew install
Uninstall any package: brew uninstall
Query available packages: brew search
Query the list of installed packages: brew list
View any package information: brew info
Update Homebrew: brew update
Homebrew help: brew-h
Check the brew version: brew-v
Update brew version: brew update
At this point, the study on "HomeBrew, which commands are commonly used in the manager of macOS software packages" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!