SDKMAN! (The Software Development Kit Manager)
This tool makes installing Grails on any Bash platform (Mac OSX, Linux, Cygwin, Solaris, or FreeBSD) easy.
Simply open a new terminal and enter:
Follow the on-screen instructions to complete installation.
Open a new terminal or type the command:
Then install the latest stable Grails:
After installation is complete and you've made it your default version, test it with:
That's all there is to it!