Scroll to navigation

OCTAVE(1) General Commands Manual OCTAVE(1)


octave - A high-level interactive language for numerical computations.


octave [options]... [file]


Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solving linear and nonlinear problems numerically.


The complete set of command-line options for octave is available by running the following command from the shell.

octave --help


The primary documentation for Octave is written using Texinfo, the GNU documentation system, which allows the same source files to be used to produce online and printed versions of the manual.

You can read the online copy of the Octave documentation by issuing the following command from within octave.

octave:1> doc
The Info files may also be read with a stand-alone program such as info or xinfo. HTML, Postscript, or PDF versions of the documentation are installed on many systems as well.


The Octave project maintains a bug tracker at Before submitting a new item please read the instructions at on how to submit a useful report.


Upon startup Octave looks for four initialization files. Each file may contain any number of valid Octave commands.

Site-wide initialization file which changes options for all users. octave-home is the directory where Octave was installed such as /usr/local.
Site-wide initialization file for Octave version version.
User's personal initialization file.
Project-specific initialization file located in the current directory.


John W. Eaton <>

19 October 2012 GNU Octave