How to Install Latest Groovy 2 By HomeBrew on Mac OS X 10.9 Mavericks Easy Guide

November 7, 2014 | By Zen BSD.

Groovy 2 Quick Start for macOS Mavericks 10.9

Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Latest Groovy 2.x by HomeBrew Package Manager for macOS 10.9 Mavericks Unix/BSD Desktop.

Groovy is a Dynamic Language that has Additional power Features inspired by languages like Python, Ruby and Smalltalk like:

  • Function Literals
  • Support for Collections
  • Support for Regular Expressions
  • Support for XML Processing

It is Recommended to dispose of a Java 8 installation because Now Groovy 2 Supports the latest Oracle Java JDK 8 Specifications.

Installing Groovy 2 for macOS 10.9 Mavericks - Featured

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

    Mac Mavericks Open Terminal

    In case first see: Terminal QuickStart Guide.

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

  3. How to Install HomeBrew for macOS 10.9 Mavericks.

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

    sudo brew install groovy
  5. Append Groovy2 to the User Path.

    nano $HOME/.profile

    Append:

    export GROOVY_HOME=/usr/local/homebrew/opt/groovy/libexec/nexport PATH=$GROOVY_HOME/bin:$PATH
    

    Load the New Path:

    source $HOME/.profile
  6. How to Install Recommended Oracle Java JDK8 on macOS

    Install Oracle JDK 8 for Mac
  7. Test Groovy 2 Installation.

    groovy -version
  8. Getting-Started with Groovy 2 Programming.

    Groovy 2 Quick Start Guide

QuickChic Theme • Powered by WordPress