How to Install

For each environment

Install by GVM

You can install the latest GroovyServ:

$ gvm install groovyserv

User commands aren’t available just after the installation by GVM. So you have to run a setup script:

$ ~/.gvm/groovyserv/current/bin/setup.sh

Instead, you can also use just a groovyclient and a groovyserver which are copy of setup.sh just after the installation. For example:

$ groovyclient -v
Setup completed successfully for darwin_amd64.
It's required only just after installation. Please run the same command once again.

When you run the same command again, it works well expectedly:

$ groovyclient -v
Groovy Version: 2.4.7 JVM: 1.8.0_92 Vendor: Oracle Corporation OS: Mac OS X
GroovyServ Version: Server: 1.1.0
GroovyServ Version: Client: 1.1.0

The binary package includes binary files of user commands only for Mac OS X, Linux(amd64/i386) and Windows. In case that you want to install to other environments, you can easily build the commands if there is go command. See How to build.

Install by Homebrew

You can install the latest GroovyServ:

$ brew install groovyserv

Install from a binary package

Download and expand a GroovyServ binary package from Download page.

$ cd /tmp
$ unzip groovyserv-1.1.0-bin.zip
$ groovyserv-1.1.0-bin/bin/setup.sh

You should add the expanded bin directory to PATH environment variable. For example in bash/bourne shell:

export PATH=/tmp/groovyserv-1.1.0/bin:$PATH

The binary package includes binary files of user commands only for Mac OS X, Linux(amd64/i386) and Windows. In case that you want to install to other environments, you can easily build the commands if there is go command. See How to build.

Install from a RPM package

Currently we don’t provide a RPM package officially. But there is a contributed SPEC file which is required to build a RPM file. So you can try to build it if you want. See Build RPM file.