Building Tetrad using Command Line - cmu-phil/tetrad GitHub Wiki

Requirements

Building Tetrad requires you to install Java 8+ and Maven 3.x. We test against Oracle's Java JDK so please install the JDK from

https://www.oracle.com/technetwork/java/javase/downloads/index.html.

Maven is available from

https://maven.apache.org/download.cgi.

Download the source code or clone the repository

Source code releases are available from https://github.com/cmu-phil/tetrad/releases or you can clone the repository using git and build any version including the (by default) development version

git clone https://github.com/cmu-phil/tetrad.git

Building

At the root of the project just tell maven to build the package

mvn package

A jar executable file will be found in tetrad-gui/target