An open API service indexing awesome lists of open source software.

https://github.com/codemommy/homebrewhelper

Homebrew helper for users in Mainland China
https://github.com/codemommy/homebrewhelper

brew helper homebrew installer mirror uninstaller

Last synced: about 2 months ago
JSON representation

Homebrew helper for users in Mainland China

Awesome Lists containing this project

README

          

# Homebrew Helper

![OS](https://img.shields.io/badge/os-macOS-blue)
[![GitHub](https://img.shields.io/github/license/CodeMommy/HomebrewHelper)](LICENSE)

A helper of Homebrew for users in Mainland China.

It is just for macOS, not for Linux and Windows.

Visit the [Homebrew homepage](https://brew.sh) to get more information.

## Helper

### Install

> With changing repositories to the mirror of Tsinghua University

```shell script
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/CodeMommy/HomebrewHelper@main/shell/install.sh)"
```

### Uninstall

```shell script
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/CodeMommy/HomebrewHelper@main/shell/uninstall.sh)"
```

### Change repositories to the mirror of Tsinghua University

```shell script
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/CodeMommy/HomebrewHelper@main/shell/mirror.sh)"
```

### Reset repositories to the official

```shell script
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/CodeMommy/HomebrewHelper@main/shell/official.sh)"
```

## Thanks

* [GitHub](https://github.com)
* [Homebrew](https://brew.sh)
* [Tencent Cloud](https://mirrors.cloud.tencent.com)
* [Tsinghua University](https://mirrors.tuna.tsinghua.edu.cn)
* [jsDelivr](https://www.jsdelivr.com)