macOS

$ brew install groovy

$ groovysh