How to Install Latest Grails 2 on Mac OS X 32-64bit Easy Guide

November 8, 2014 | By Zen BSD.

Grails 2 Quick Start for macOS

Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Latest Grails 2.x Web Framework on macOS BSD/Unix 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 - Featured

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

    Linux macOS Groovy 2 Installation - Featured
  2. Download Latest Grails 2.x Binary Release.

    Grails 2.x Zip Archive
  3. Click Here to Install Grails with HomeBrew!

  4. Double-Click on Archive to Extract.

  5. Installing Grails 2 on Mac.

    sudo su -c "chown -R root:root /tmp/grails*"
    sudo su -c "mv /tmp/grails* /opt/grails2"
  6. Append Grails2 to the User Path.

    nano $HOME/.bashrc

    Append:

    export GRAILS_HOME=/opt/grails2/nexport PATH=$GRAILS_HOME/bin:$PATH
    

    Load the New Path:

    bash
  7. How to Install Required Oracle JDK 8+ on MacOS X

    Install Oracle JDK 8+ for Mac
  8. Test Grails 2 Installation.

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

    Grails 2 Quick Start Guide

QuickChic Theme • Powered by WordPress