guliujian / homebrew-bottle-mirror

mirror tools to sync homebrew bottle files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Homebrew Bottle Mirror

mirror tools for syncing homebrew bottle files.

Usage

General way

run the following command on your Mac:

brew tap gaoyifan/bottle-mirror
brew bottle-mirror

docker

docker run -itd \
  --name=homebrew-bottles \
  -v $YOUR_REPOSITORY_DIR:/srv/data \
  gaoyifan/homebrew-bottle-mirror

more information for docker

Public mirror

https://mirrors.ustc.edu.cn/homebrew-bottles/

How to use?

add the following line to your ~/.bash_profile (if you use bash)

export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles

then load the new configration

$ source ~/.bash_profile

About

mirror tools to sync homebrew bottle files

License:MIT License


Languages

Language:Shell 79.7%Language:Ruby 20.3%