How to get GNU Octave running on macOS with GUI

Gnu-octave-logo Currently, the best option to install Octave on macOS with a stable graphical user interface is via homebrew (sorry macports). Get the latest formula from my repository

brew tap schoeps/homebrew-science
pin the repository
brew tap-pin schoeps/homebrew-science
install a development version of octave (with GUI and java)
brew install octave --HEAD --with-qt --with-java