Blang

Installing Blang Command Line Interface (CLI)

The prerequisites for the CLI installation process are:

  1. A UNIX-compatible environment running bash. This includes, in particular, Mac OS X, where bash is the default terminal interpreter when launching Terminal.app.

  2. The git command

  3. The Java Software Development Kit (SDK), version 8 or more recent (at the time of publication, Open SDK 8 and 11 are tested). The Java runtime environment is not sufficient, as compilation of models requires compilation into the Java Virtual Machine. Type javac -version to test if the Java SDK is installed. If not, the Java SDK is freely available at https://openjdk.java.net/.

The following installation process is most thoroughly tested on Mac OS X, which is the primary supported platform at the moment, however users have reported installing it suc- cessfully on certain Linux and Windows configurations and we plan to expand the set of officially supported platforms to both in the near future. To install the CLI tools, input the following commands in a bash terminal interpreter:

git clone https://github.com/UBC-Stat-ML/blangSDK.git cd blangSDK source setup-cli.sh cd ..