How to Install ammonite-repl on mac using brew

Package Information:

Name: ammonite-repl
Use: Ammonite is a cleanroom re-implementation of the Scala REPL

The Ammonite-REPL is an improved Scala REPL, re-implemented from first principles. It is much more featureful than the default REPL and comes with a lot of ergonomic improvements and configurability that may be familiar to people coming from IDEs or other REPLs such as IPython or Zsh.
URL: https://lihaoyi.github.io/Ammonite/#Ammonite-REPL

Installation Steps:

  1. Open Terminal on your Mac.
  2. Now, run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install ammonite-repl using brew
    brew install ammonite-repl

ammonite-repl is ready to use now!