Octave is a programming environment that makes it easier to prototype machine learning algorithms. The open-source software is free to download, making it a friendly alternative to MatLab. Octave is not meant to replace your production-ready Java, Python, or C++. Instead, it will help you test out your idea (or intuition) without having to write lots of code.

If you prefer a direct download, download Octave here.

Step 1: Install Homebrew

If you do not have Homebrew installed, then read this article first.

Step 2: Install Octave

brew update
brew install octave

Step 3: Open Octave



  • Octave Wiki
  • Octave on Sourceforge - Probability distributions, descriptive statistics, hypothesis testing, t-tests, ANOVA, plots, histograms, clustering analysis.


If Terminal complains about not having a formula for Octave, try this.
Then upgrade