#安装
brew install groovy


# groovy install path
which groovy


#卸载
brew uninstall groovy

------------------------------------------------------------------------------

#选择隐藏目录 /usr/local
shift+command+G

#
vim ~/.bash_profile
export PATH=$PATH:/Users/qikong/develop/groovy-2.5.4/bin

# path配置
# export PATH=$PATH:<PATH 1>:<PATH 2>:<PATH 3>:------:<PATH N>

#立即生效
source ~/.bash_profile