How to install emscripten on Mac using Brew

Package Information:

Name: emscripten
Use: Emscripten is an LLVM-based project that compiles C and C++ into highly-optimizable JavaScript in asm.js format.
URL: https://kripken.github.io/emscripten-site/

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 emscripten using brew
    brew install emscripten

emscripten is ready to use now!