brew使用

# 搜索
$ brew search wget
# 查看(基本信息)
$ brew info wget
# 查看(工具网站)
$ brew home wget
# 查看(指定工具的安装目录文件列表)
$ brew list wget
# 查看(所有已安装工具名单)
$ brew list
# 查看(所有已下载安装包文件列表)
$ brew --cache|xargs ls -lh
$ brew install wget
# 升级(指定工具,旧版本会保留)
$ brew upgrade wget
# 升级(所有工具)
$ brew upgrade
# 删除(指定工具最新版本的安装目录和文件)
$ brew uninstall wget
# 删除(所有工具的所有旧版本的安装目录和文件),可极大释放磁盘空间
$ brew cleanup
# 删除(所有安装包文件),可极大释放磁盘空间
$ brew --cache|xargs rm -rf
$ brew cask install iterm2
$ brew install wget
# zsh
$ brew install zsh
# oh-my-zsh
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
$ brew cask install typora
$ brew cask install google-chrome
$ brew install git
# Intellij Idea
$ brew cask install intellij-idea
# WebStorm
$ brew cask install webstorm
# Pycharm
$ brew cask install pycharm
# Android-studio
$ brew cask install android-studio
# Visual-studio-code
$ brew cask install visual-studio-code
# Sublime-text
$ brew cask install sublime-text
# Atom
$ brew cask install atom -- $ brew install atom --cask
# Java8
$ brew cask install java8
# Java7
$ brew cask install java7
# Maven
$ brew install maven
# Gradle
$ brew install gradle
# Node
$ brew install node
# TypeScript
$ brew install typescript
# Python
$ brew install python
# Go
$ brew install go
# Erlang
$ brew install erlang
# Rust
$ brew install rust
# Lua
$ brew install lua
# Clojure
$ brew install clojure
# Mysql
$ brew install mysql
# Sqlite
$ brew install sqlite
# Postgresql
$ brew install postgresql
# Greenplum-db
$ brew install greenplum-db
# Hive
$ brew install hive
# HBase
$ brew install hbase
# MongoDB
$ brew install mongodb
# Cassandra
$ brew install cassandra
# Redis
$ brew install redis
# Memcached
$ brew install memcached
# Nginx
$ brew install nginx
# Openresty
$ brew install openresty
# Haproxy
$ brew install haproxy
# Apache
$ brew install pcre libtool
$ wget http://mirrors.tuna.tsinghua.edu.cn/apache//httpd/httpd-2.4.25.tar.gz
$ tar xzf httpd-2.4.25.tar.gz && cd httpd-2.4.25
$ ./configure --prefix=/usr/local/apache-2.4.25 LTFLAGS=--tag=CC && make && make install
# Varnish
$ brew install varnish
# Squid
$ brew install squid
# Zookeeper
$ brew install zookeeper
# Etcd
$ brew install etcd
# RocketMq
$ brew install rocketmq
# ActiveMQ
$ brew install activemq
# Kafka
$ brew install kafka
# RabbitMQ
$ brew install rabbitmq
$ brew cask install snip
# ZeroMQ
$ brew install zeromq
# Consul
$ brew install consul
$ brew cask install staruml
$ brew cask install alfred
$ brew install htop
# Jmeter
$ brew install jmeter
# wrk
$ brew install wrk
# Siege
$ brew install siege
# ApacheBenchmark(ab)
$ brew install ab
# XMind
$ brew cask install xmind
# MindJet-MindManager
$ brew cask install mindjet-mindmanager