Official Release

Apache Mahout is an official Apache project and thus available from any of the Apache mirrors. The latest Mahout release is available for download at:

  • Download Latest
  • Release Archive
    • To validate artifacts:
      • (From KEYS file): gpg --import KEYS
        $ gpg
        gpg: assuming signed data in `'
        gpg: Signature made Fri 01 Mar 2019 09:59:00 AM PST using RSA key ID 140A5BE9
        gpg: Good signature from "Apache B. Committer (ASF Signing Key) <>"

Source code for the current snapshot

Apache Mahout is mirrored to Github. To get all source:

git clone mahout


Whether you are using Mahout’s Shell, running command line jobs or using it as a library to build your own apps you’ll need to setup several environment variables. Edit your environment in ~/.bash_profile for Mac or ~/.bashrc for many linux distributions. Add the following

export MAHOUT_HOME=/path/to/mahout
export MAHOUT_LOCAL=true # for running standalone on your dev machine, 
# unset MAHOUT_LOCAL for running on a cluster 

If you are running on Spark you will also need $SPARK_HOME

Make sure to have $JAVA_HOME set also

Using Mahout as a Library

Running any application that uses Mahout will require installing a binary or source version and setting the environment.
Then add the appropriate setting to your pom.xml or build.sbt following the template below.

If you only need the math part of Mahout:


In case you would like to use some of our integration tooling (e.g. for generating vectors from Lucene):


In case you are using Ivy, Gradle, Buildr, Grape or SBT you might want to directly head over to the official Maven Repository search.

Future Releases

Official releases are usually created when the developers feel there are sufficient changes, improvements and bug fixes to warrant a release. Watch the Mailing lists for latest release discussions and check the Github repo.