Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wayou/hbmm
manage and switch homebrew mirrors. homebrew 源镜像切换与管理
https://github.com/wayou/hbmm
homebrew manager managment mirror origin switch
Last synced: 13 days ago
JSON representation
manage and switch homebrew mirrors. homebrew 源镜像切换与管理
- Host: GitHub
- URL: https://github.com/wayou/hbmm
- Owner: wayou
- License: mit
- Created: 2019-02-20T16:57:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-21T15:58:56.000Z (almost 6 years ago)
- Last Synced: 2024-12-05T00:09:47.348Z (20 days ago)
- Topics: homebrew, manager, managment, mirror, origin, switch
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Homebrew Mirror Manager
manage and switch homebrew mirrors.
_inspired by [nrm](https://github.com/Pana/nrm), witch switch npm registries._
### Installing
```sh
$ yarn global add hbmm
# or
$ npm install -g hbmm
```### Usage
#### List all mirrors
```sh
$ hbmm ls
```#### Switch to a mirror
```sh
$ hbmm use
```#### Add a mirror
```sh
$ hbmm add [description]
```- `mirror_name` is the unique key to identify the mirror
- `brew` is the homebrew git url
- `core` is the homebrew-core git url
- `description` is optional to describle the mirror#### Remove to a mirror
```sh
$ hbmm use
```### Predefined Mirrors
Following mirrors are included :
- default
- brew: `https://github.com/Homebrew/brew.git`
- core: `https://github.com/Homebrew/homebrew-core.git`
- tsinghua
- brew: `https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git`
- core: `https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git`
- ustc
- brew: `https://mirrors.ustc.edu.cn/brew.git`,
- core: `https://mirrors.ustc.edu.cn/homebrew-core.git`### License
[![FOSSA Status](https://app.fossa.io/api/projects/custom%2B7035%2Fgithub.com%2Fwayou%2Fhbmm.svg?type=large)](https://app.fossa.io/projects/custom%2B7035%2Fgithub.com%2Fwayou%2Fhbmm?ref=badge_large)