Open uniquejava opened 6 years ago
export ALL_PROXY=http://proxy.xxxx.xxx.com:8080 brew update # brew cask install minikube brew upgrade minikube brew link minikube minikube version brew install docker-machine-driver-hyperkit This driver requires superuser privileges to access the hypervisor. To enable, execute: sudo chown root:wheel /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit sudo chmod u+s /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit ==> Summary 🍺 /usr/local/Cellar/docker-machine-driver-hyperkit/1.0.0: 5 files, 13.7MB
export HTTP_PROXY=xxxx minikube start
brew search mongodb brew ininstall/uninstall/reinstall break cask install brew cask reinstall --force virtualbox --verbose --debug
➜ ~ brew --cache /Users/cyper/Library/Caches/Homebrew
然后把预先下载的tar.gz包扔到这个目录下
再次执行brew install xxx就能跳过下载文件的步骤。
设置代理
设置代理