How can I start octave from the command line and not the GUI?

后端 未结 5 2129
傲寒
傲寒 2021-02-05 02:16

I recently installed GNU Octave on my Mac using Homebrew and as soon as I typed octave into bash, it opened up the octave-gui window. The Octave GUI looks quite un

5条回答
  •  独厮守ぢ
    2021-02-05 02:28

    On MacOS, if installed Octave by dmg file, you can add alias to your ~/.bashrc file.

    alias octave-cli='/Applications/Octave-4.4.1.app/Contents/Resources/usr/bin/octave-cli'
    

    Then start octave-cli in command line by 'octave-cli'.

提交回复
热议问题