Step 1 brew install octave Step 2 set the path. for example: export OCTAVE_HOME=/usr/local/Cellar/octave/5.1.0_8 export PATH=$PATH:$OCTAVE_HOME/bin Step 3 just do it. you can use octave to open it just like python on macbook