brew install ngrok

Shell
brew cask install ngrok
Source

Also in Shell: