uniquejava / blog

My notes regarding the vibrating frontend :boom and the plain old java :rofl.
Creative Commons Zero v1.0 Universal
11 stars 5 forks source link

homebrew #240

Open uniquejava opened 6 years ago

uniquejava commented 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
uniquejava commented 4 years ago

使用brew的一个技巧

➜ ~ brew --cache /Users/cyper/Library/Caches/Homebrew

然后把预先下载的tar.gz包扔到这个目录下

再次执行brew install xxx就能跳过下载文件的步骤。