Groovy 2 Quick Start for macOS Yosemite 10.10
Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Latest Grails 2.x by HomeBrew Package Manager for macOS 10.10 Yosemite Unix/BSD Desktop.
Grails is an Open Source, full stack, web application framework for the JVM that takes advantage of the Groovy programming language and convention over configuration to provide a productive and stream-lined development experience.
The Only Requirement for Grails 2 is an Oracle Java Development Kit 6+ Installation so Inside the Tutorial you’ll find How to Download and Install Oracle JDK for macOS.
-
Open Terminal Window
Applications > Utilities > Terminal
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
How to Install HomeBrew for macOS 10.10 Yosemite.
-
Installing Grails 2 on macOS by Brew.
sudo brew install grails
-
Append Grails2 to the User Path.
nano $HOME/.profile
Append:
export GRAILS_HOME=/usr/local/homebrew/opt/grails/libexec/nexport PATH=$GRAILS_HOME/bin:$PATH
Load the New Path:
source $HOME/.profile
-
How to Install Required Oracle Java JDK 8+ on macOS
-
Test Grails 2 Installation.
grails -version
-
Getting-Started with Grails 2 Web Development.
Click Here to Install only Grails Manually without HomeBrew!