GVM
Contents
Installed GVM from:
~ $ curl -s get.gvmtool.net | bash
Thanks for using
_____/\\\\\\\\\\\\__/\\\________/\\\__/\\\\____________/\\\\_
___/\\\//////////__\/\\\_______\/\\\_\/\\\\\\________/\\\\\\_
__/\\\_____________\//\\\______/\\\__\/\\\//\\\____/\\\//\\\_
_\/\\\____/\\\\\\\__\//\\\____/\\\___\/\\\\///\\\/\\\/_\/\\\_
_\/\\\___\/////\\\___\//\\\__/\\\____\/\\\__\///\\\/___\/\\\_
_\/\\\_______\/\\\____\//\\\/\\\_____\/\\\____\///_____\/\\\_
_\/\\\_______\/\\\_____\//\\\\\______\/\\\_____________\/\\\_
_\//\\\\\\\\\\\\/_______\//\\\_______\/\\\_____________\/\\\_
__\////////////__________\///________\///______________\///__
Will now attempt installing...
Looking for a previous installation of GVM...
Looking for JAVA_HOME...
Validating JAVA_HOME...
Looking for unzip...
Looking for curl...
Installing gvm scripts...
Create distribution directories...
Create candidate directories...
Download script archive...
Extract script archive...
Install scripts...
Make init script executable...
Prime config file...
Attempt update of bash profiles...
Updated existing /Users/miro/.bash_profile
Updated existing /Users/miro/.profile
Updated existing /Users/miro/.bashrc
Attempt update of zsh profiles...
Created and initialised /Users/miro/.zshrc
Clean up local variables...
All done!
Please open a new terminal, or run the following in the existing one:
source "/Users/miro/.gvm/bin/gvm-init.sh"
Then issue the following command:
gvm help
Enjoy!!!
Using
binsh $ gvm current
Using:
groovy: 2.0.6
grails: 2.2.0
griffon: 1.1.0
gradle: 1.3
vertx: 1.3.0.final
Fix for zsh
http://blog.andresteingress.com/2012/12/14/gvm-the-groovy-environment-manager/
cineplex $ cat ~/.zshrc
#THIS MUST BE AT THE END OF THE FILE FOR GVM TO WORK!!!
# [[ -s "/Users/miro/.gvm/bin/gvm-init.sh" && ! $(which gvm-init.sh) ]] && source "/Users/miro/.gvm/bin/gvm-init.sh"
source "/Users/miro/.gvm/bin/gvm-init.sh"
Author Miro Adamy
LastMod 2013-01-08
License (c) 2006-2020 Miro Adamy