Skip to content

Instantly share code, notes, and snippets.

@Ran-Xing
Last active December 13, 2023 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ran-Xing/25fe32972eb6894f11cc6e98869b4fcb to your computer and use it in GitHub Desktop.
Save Ran-Xing/25fe32972eb6894f11cc6e98869b4fcb to your computer and use it in GitHub Desktop.
HomeBrew proxy Install
#!/usr/bin/env bash
/bin/bash -c "$(curl -fsSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | sed -e "s|https://github.com|https://mirror.ghproxy.com/https://github.com|g;s|https://raw.githubusercontent.com|https://mirror.ghproxy.com/https://raw.githubusercontent.com|g")"
@Ran-Xing
Copy link
Author

Ran-Xing commented Jul 7, 2022

curl -s https://mirror.ghproxy.com/https://gist.githubusercontent.com/Ran-Xing/25fe32972eb6894f11cc6e98869b4fcb/raw/99fd3b6c2fab11c052f36518245d0c9f35f8e4a0/brew.sh | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment