当前位置:网站首页>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
边栏推荐
- 最详细的背包问题!!!
- Download and install mongodb
- [self entertainment] construction notes week 2
- Day (5) of picking up matlab
- ESP32_Arduino
- What does cloud disaster tolerance mean? What is the difference between cloud disaster tolerance and traditional disaster tolerance?
- Unity Shader学习
- The most detailed knapsack problem!!!
- ESXi封装网卡驱动
- Passing header request header information between services through feign
猜你喜欢
C language self compiled string processing function - string segmentation, string filling, etc
捡起MATLAB的第(7)天
【现代电子装联期末复习要点】
R语言中绘制ROC曲线方法二:pROC包
matplotlib教程05---操作图像
Interview question 17.10 Main elements
Spark 算子之sortBy使用
MySQL - MySQL查询语句的执行过程
Day (5) of picking up matlab
How important is the operation and maintenance process? I heard it can save 2 million a year?
随机推荐
Vision of building interstellar computing network
Sort by character occurrence frequency 451
MySQL的btree索引和hash索引区别
Day (7) of picking up matlab
Nanny Anaconda installation tutorial
安装Redis并部署Redis高可用集群
JS regular détermine si le nom de domaine ou le chemin de port IP est correct
How to quickly batch create text documents?
Spark 算子之distinct使用
You need to know about cloud disaster recovery
The biggest winner is China Telecom. Why do people dislike China Mobile and China Unicom?
Research and Practice on business system migration of a government cloud project
Leetcode-374 guess the size of the number
VIM uses vundle to install the code completion plug-in (youcompleteme)
捡起MATLAB的第(9)天
[split of recursive number] n points K, split of limited range
MySQL - execution process of MySQL query statement
Method 2 of drawing ROC curve in R language: proc package
[self entertainment] construction notes week 2
Metalife established a strategic partnership with ESTV and appointed its CEO Eric Yoon as a consultant