Groovy 2 Quick Start for macOS Yosemite 10.10
You are Welcome! 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.10 Yosemite 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.

-
Open Terminal Window
Applications > Utilities > Terminal
(Press “Enter” to Execute Commands) -
How to Install HomeBrew for macOS 10.10 Yosemite.
-
Installing Groovy 2 on Mac OS X by Brew.
sudo brew install groovy
-
Append Groovy2 to the User Path.
nano $HOME/.profile
Append:
export GROOVY_HOME=/usr/local/homebrew/opt/groovy/libexec export PATH=$GROOVY_HOME/bin:$PATH
Load the New Path:
source $HOME/.profile
-
How to Install Recommended Oracle Java JDK8 on Mac OS X
-
Test Groovy 2 Installation.
groovy -version
-
Getting-Started with Groovy 2 Programming.
Click Here to Install only Groovy Manually without HomeBrew!
Tags: bsd, Getting Started, Groovy, groovy 2, Guide, Homebrew, How-to, Install, install groovy 2 mac os x, install groovy mac os x, java development, java development mac os x, Linux Tutorial, Mac Os X, mac os x 10.10 yosemite, oracle java, oracle jdk, Quick Start, Tutorial, Unix