当前位置:网站首页>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
边栏推荐
- How can poor areas without networks have money to build networks?
- 5分钟,把你的Excel变成在线数据库,神奇的魔方网表excel数据库
- js正则判断域名或者IP的端口路径是否正确
- 299. 猜数字游戏
- 451. 根据字符出现频率排序
- 捡起MATLAB的第(7)天
- [self entertainment] construction notes week 2
- C language self compiled string processing function - string segmentation, string filling, etc
- 捡起MATLAB的第(6)天
- Homewbrew installation, common commands and installation path
猜你喜欢
Function summary of drawing object arrangement in R language
Day 9 static abstract class interface
JVM - Chapter 2 - class loader subsystem
实现缺省页面
Countdown 1 day ~ 2022 online conference of cloud disaster tolerance products is about to begin
安装Redis并部署Redis高可用集群
Hypermotion cloud migration completes Alibaba cloud proprietary cloud product ecological integration certification
Spark 算子之distinct使用
第十天 异常机制
运维流程有多重要,听说一年能省下200万?
随机推荐
js正則判斷域名或者IP的端口路徑是否正確
保姆级Anaconda安装教程
leetcode-396 旋转函数
C language self compiled string processing function - string segmentation, string filling, etc
如何进行应用安全测试(AST)
Merging of Shanzhai version [i]
Cloudy data flow? Disaster recovery on cloud? Last value content sharing years ago
Grbl learning (II)
R语言中实现作图对象排列的函数总结
matplotlib教程05---操作图像
Interview question 17.10 Main elements
Vim使用Vundle安装代码补全插件(YouCompleteMe)
ESP32编译环境的搭建
Win11 / 10 home edition disables the edge's private browsing function
多线程原理和常用方法以及Thread和Runnable的区别
Leetcode-374 guess the size of the number
299. 猜数字游戏
Method 2 of drawing ROC curve in R language: proc package
面试题 17.10. 主要元素
MySQL - execution process of MySQL query statement