Get closure-compiler installed on Mac using Brew

Package Information:

Name: closure-compiler
Use: JavaScript optimizing compiler
URL: https://github.com/google/closure-compiler

Installation Steps:

  1. Open Terminal by pressing <command+space>. Type terminal and hit Enter key.
  2. Copy the below command and execute

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install closure-compiler using brew
    brew install closure-compiler

closure-compiler is ready to use now!