How-to Install Latest Grails 2 by HomeBrew on Mac OS X 10.10 Yosemite Easy Guide

November 8, 2014 | By Zen BSD | Filed in: Tutorial.

Groovy 2 Quick-Start for Mac OS X Yosemite 10.10

The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the Latest Grails 2.x by HomeBrew Package Manager for Mac OS X 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 Install Oracle JDK for Mac OS X.

Installing Grails 2 for Mac OS X 10.10 Yosemite - Featured

  1. Open Terminal Window
    Applications > Utilities > Terminal
    (Press “Enter” to Execute Commands)

    Mac Yosemite Open Terminal
  2. Click Here to Install only Grails Manually without HomeBrew!

  3. How-to Install HomeBrew for Mac OS X 10.10 Yosemite:

    HomeBrew Installation
  4. Installing Grails 2 on Mac OS X by Brew

    sudo brew install grails
  5. Append Grails2 to the User Path

    nano $HOME/.profile


    export GRAILS_HOME=/usr/local/homebrew/opt/grails/libexec
    export PATH=$GRAILS_HOME/bin:$PATH

    Load the New Path:

    source $HOME/.profile
  6. How-to Install Required Oracle Java JDK 8+ on Mac OS X:

    Install Oracle JDK 7/8 for Mac
  7. Test Grails 2 Installation

    grails -version
  8. Getting-Started with Grails 2 Web Development

    Grails 2 Quick-Start Guide

Tags: , , , , , , , , , , , , , , , , , , , , ,