Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

HomeBrew, what are the commands commonly used by the manager of the macOS software package

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report