Installation Steps:
- Open Terminal using Spotlight search by pressing
<command+space>
.
Type terminal and hitEnter
key. - Now, run
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null - Install antlr4-cpp-runtime using brew
brew install antlr4-cpp-runtime
antlr4-cpp-runtime is ready to use now!