当前位置:网站首页>What is homebrew? And use
What is homebrew? And use
2022-04-23 16:09:00 【Learning is boundless, happy to make a boat】
One 、Homebrew What is it? ?Homebrew Installation and use
- Homebrew Is a Mac OS Software package management tools under the platform , Own installation 、 uninstall 、 to update 、 see 、 Search and many other practical functions . A simple command , Package management can be realized , You don't have to worry about dependencies and file paths , It's very convenient .
Two 、Homebrew Installation
1. Open the terminal (terminal)
2. Installation command :
command 1:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"( If this command doesn't work well, it will report an error , If an error is reported, try using the command 2)
command 2:/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"( This is a script , You can also install Homebrew)
3. Unload command :
$ cd `brew --prefix`
$ rm -rf Cellar
$ brew prune
$ rm `git ls-files`
$ rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributions
$ rm -rf .git
$ rm -rf ~/Library/Caches/Homebrew
3、 ... and 、Homebrew Use
1. see Homebrew command :brew help
2. Install any package :brew install <packageName>,eg:brew install node
3. Uninstall any package :brew uninstall <packageName>,eg:brew uninstall git
4. Query available packages :brew search <packageName>
5. Query the list of installed packages :brew list
6. View any package information :brew info <packageName>
7. to update Homebrew:brew update
8.Homebrew Help information :brew -h
8. see brew edition :brew -v
10. to update brew edition :brew update
11. Organize repeated statements :open ~/.zshrc -e、open ~/.bash_profile -e
Reference article :
Homebrew Introduction and use
Mac in Homebrew Installation and use
Homebrew How to install automatically in China
版权声明
本文为[Learning is boundless, happy to make a boat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231403594200.html
边栏推荐
- js正則判斷域名或者IP的端口路徑是否正確
- 捡起MATLAB的第(9)天
- What is the experience of using prophet, an open source research tool?
- 浅谈 NFT项目的价值、破发、收割之争
- R语言中绘制ROC曲线方法二:pROC包
- Unity shader learning
- Filter usage of spark operator
- JSP learning 1
- ESP32_ Arduino
- Metalife established a strategic partnership with ESTV and appointed its CEO Eric Yoon as a consultant
猜你喜欢
Coalesce and repartition of spark operators
How can poor areas without networks have money to build networks?
Distinct use of spark operator
Day 9 static abstract class interface
ESP32编译环境的搭建
JVM - Chapter 2 - class loader subsystem
[key points of final review of modern electronic assembly]
5 minutes, turn your excel into an online database, the magic cube net table Excel database
Spark 算子之交集、并集、差集
撿起MATLAB的第(9)天
随机推荐
ESP32_Arduino
【现代电子装联期末复习要点】
Meaning and usage of volatile
The most detailed Backpack issues!!!
Metalife established a strategic partnership with ESTV and appointed its CEO Eric Yoon as a consultant
[open source tool sharing] MCU debugging assistant (oscillograph / modification / log) - linkscope
You need to know about cloud disaster recovery
TIA botu - basic operation
Homewbrew installation, common commands and installation path
Day (10) of picking up matlab
C#,贝尔数(Bell Number)的计算方法与源程序
撿起MATLAB的第(9)天
捡起MATLAB的第(8)天
New developments: new trends in cooperation between smartmesh and meshbox
Vim使用Vundle安装代码补全插件(YouCompleteMe)
Day 10 abnormal mechanism
Es common query, sorting and aggregation statements
homwbrew安装、常用命令以及安装路径
JS regular determines whether the port path of the domain name or IP is correct
Countdown 1 day ~ 2022 online conference of cloud disaster tolerance products is about to begin