hbmm

0.2.5 • Public • Published

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 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

$ 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
  • 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

Readme

Keywords

Package Sidebar

Install

npm i hbmm

Weekly Downloads

0

Version

0.2.5

License

MIT

Unpacked Size

8.75 kB

Total Files

7

Last publish

Collaborators

  • wayou