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

November 8, 2014 | By Zen BSD.

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.

Installing Grails 2 for macOS 10.10 Yosemite - Featured

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

    Mac Yosemite Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Click Here to Install only Grails Manually without HomeBrew!

  3. How to Install HomeBrew for macOS 10.10 Yosemite.

    HomeBrew Installation
  4. Installing Grails 2 on macOS by Brew.

    sudo brew install grails
  5. 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
  6. How to Install Required Oracle Java JDK 8+ on macOS

    Installing Oracle JDK for Mac
  7. Test Grails 2 Installation.

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

    Grails 2 Quick Start Guide

QuickChic Theme • Powered by WordPress