当前位置:网站首页>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
边栏推荐
- 多线程原理和常用方法以及Thread和Runnable的区别
- Six scenarios of cloud migration
- [self entertainment] construction notes week 2
- Fastjon2 here he is, the performance is significantly improved, and he can fight for another ten years
- Interview question 17.10 Main elements
- Partitionby of spark operator
- 最詳細的背包問題!!!
- 浅谈 NFT项目的价值、破发、收割之争
- 力扣-198.打家劫舍
- Hypermotion cloud migration helped China Unicom. Qingyun completed the cloud project of a central enterprise and accelerated the cloud process of the group's core business system
猜你喜欢
安装Redis并部署Redis高可用集群
homwbrew安装、常用命令以及安装路径
第十天 异常机制
Vision of building interstellar computing network
捡起MATLAB的第(8)天
力扣-746.使用最小花费爬楼梯
Grbl learning (I)
Groupby use of spark operator
Hyperbdr cloud disaster recovery v3 Version 2.1 release supports more cloud platforms and adds monitoring and alarm functions
Intersection, union and difference sets of spark operators
随机推荐
5分钟,把你的Excel变成在线数据库,神奇的魔方网表excel数据库
Application case of GPS Beidou high precision satellite time synchronization system
Spark 算子之sortBy使用
volatile的含义以及用法
OAK-D树莓派点云项目【附详细代码】
Nanny Anaconda installation tutorial
Day (6) of picking up matlab
Sortby use of spark operator
Leetcode-374 guess the size of the number
Config learning notes component
如何进行应用安全测试(AST)
MySQL的btree索引和hash索引区别
Day (10) of picking up matlab
[self entertainment] construction notes week 2
matplotlib教程05---操作图像
5 minutes, turn your excel into an online database, the magic cube net table Excel database
How to conduct application security test (AST)
Win11 / 10 home edition disables the edge's private browsing function
捡起MATLAB的第(6)天
Algorithem_ ReverseLinkedList