---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# octave

> A programming language for scientific computing.
> More information: <https://docs.octave.org/latest/Invoking-Octave-from-the-Command-Line.html>.

- Start an interactive session:

`octave`

- Execute a specific script file:

`octave {{path/to/script.m}}`

- Execute a script file with specific arguments:

`octave {{path/to/script.m}} {{argument1 argument2 ...}}`

- Start an interactive session with a GUI:

`octave --gui`

- Display help:

`octave --help`

- Display version:

`octave --version`
