当前位置:网站首页>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
边栏推荐
- Best practice of cloud migration in education industry: Haiyun Jiexun uses hypermotion cloud migration products to implement progressive migration for a university in Beijing, with a success rate of 1
- leetcode-396 旋转函数
- 451. 根据字符出现频率排序
- Intersection, union and difference sets of spark operators
- Force buckle - 198 raid homes and plunder houses
- 5 minutes, turn your excel into an online database, the magic cube net table Excel database
- New developments: new trends in cooperation between smartmesh and meshbox
- ESP32编译环境的搭建
- Day (7) of picking up matlab
- Review 2021: how to help customers clear the obstacles in the last mile of going to the cloud?
猜你喜欢

Download and install mongodb

Force buckle - 198 raid homes and plunder houses

The system research problem that has plagued for many years has automatic collection tools, which are open source and free

Coalesce and repartition of spark operators

Research and Practice on business system migration of a government cloud project

How to upgrade openstack across versions

RecyclerView advanced use - to realize drag and drop function of imitation Alipay menu edit page

Hypermotion cloud migration completes Alibaba cloud proprietary cloud product ecological integration certification

Spark 算子之交集、并集、差集

matplotlib教程05---操作图像
随机推荐
Fastjon2他来了,性能显著提升,还能再战十年
Matplotlib tutorial 05 --- operating images
Day (3) of picking up matlab
5 minutes, turn your excel into an online database, the magic cube net table Excel database
How to upgrade openstack across versions
The most detailed knapsack problem!!!
Best practice of cloud migration in education industry: Haiyun Jiexun uses hypermotion cloud migration products to implement progressive migration for a university in Beijing, with a success rate of 1
JSP learning 1
Merging of Shanzhai version [i]
PS add texture to picture
299. Number guessing game
matplotlib教程05---操作图像
Hypermotion cloud migration completes Alibaba cloud proprietary cloud product ecological integration certification
捡起MATLAB的第(4)天
Leetcode-374 guess the size of the number
C#,贝尔数(Bell Number)的计算方法与源程序
捡起MATLAB的第(10)天
Spark 算子之partitionBy
Ice -- source code analysis
VIM specifies the line comment and reconciliation comment