hbmm
v0.2.5
Published
manage and switch homebrew mirrors
Downloads
14
Readme
Homebrew Mirror Manager
manage and switch homebrew mirrors.
inspired by nrm, witch switch npm registries.
Installing
$ yarn global add hbmm
# or
$ npm install -g hbmm
Usage
List all mirrors
$ hbmm ls
Switch to a mirror
$ hbmm use <mirror_name>
Add a mirror
$ hbmm add <mirror_name> <brew> <core> [description]
mirror_name
is the unique key to identify the mirrorbrew
is the homebrew git urlcore
is the homebrew-core git urldescription
is optional to describle the mirror
Remove to a mirror
$ hbmm use <mirror_name>
Predefined Mirrors
Following mirrors are included :
- default
- brew:
https://github.com/Homebrew/brew.git
- core:
https://github.com/Homebrew/homebrew-core.git
- brew:
- tsinghua
- brew:
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
- core:
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
- brew:
- ustc
- brew:
https://mirrors.ustc.edu.cn/brew.git
, - core:
https://mirrors.ustc.edu.cn/homebrew-core.git
- brew: