groovy安装部署

1、下载

wget https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-4.0.2.zip

2、解压

unzip apache-groovy-binary-4.0.2.zip -d /usr/local/
ln -sv /usr/local/groovy-4.0.2 /usr/local/groovy

3、编辑/etc/profile

#set groovy environment
export GROOVY_HOME="/usr/local/groovy"
export PATH=$GROOVY_HOME/bin:$PATH

source /etc/profile

4、验证

groovy -version

你可能感兴趣的:(linux,apache)