I have the same problem as Anjana. Octave runs fine but without the gui. I ran brew tap homebrew/science and then brew install octave. I have XQuartz on my machine so I skipped that part. In my usr/local/bin directory are the following: octave, octave-4.2.1, octave-cli, octave=cli-4,2.2.1. All of these run Octave but without the gui. any more suggestions?