How to Install
For each environment
- For all Un*x platform
- Only for Mac OS X
- Only for Linux
- Only for Windows
- For Anywhere:
Install by SDKMAN
You can install the latest GroovyServ:
$ sdk install groovyserv
Downloading: groovyserv 1.2.0
In progress...
###################### 100.0%
Installing: groovyserv 1.2.0
Done installing!
Do you want groovyserv 1.2.0 to be set as default? (Y/n):
Setting groovyserv 1.2.0 as default.
Then, you can use just groovyclient
and a groovyserver
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.2.0
GroovyServ Version: Client: 1.2.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.2.0-bin.zip
$ groovyserv-1.2.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.2.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.