# On-premises Moku Compile

On-premises Moku Compile is configured and run through the MokuCLI interface. Get started by configuring your CLI for local compilation with the On-premises getting started guide.

# Moku Compile toolchains

Toolchains are a collection of Python, TCL scripts, and pre-generated platform checkpoints, which are used to run compilations locally. They are therefore required to compile bitstreams for your Moku with On-premises Moku Compile. Once the toolchains for your MokuOS version are downloaded, they do not make any external calls, and network access is not required.

As for our software packages and App, toolchains are configured for each MokuOS version and need to be updated on your local device in lock-step with the MokuOS version running on your Moku device. For example, if you update your Moku:Pro to MokuOS 4.0.3, the corresponding 4.0.3 toolchains will need to be downloaded and installed to be deployed on your Moku:Pro. Use mokucli mc install 4.0.3 to download and install the 4.0.3 toolchains from the server.

Toolchains can be found in the following locations:

  • Windows: C:\Users\usr\AppData\Roaming\Moku\data\mc\toolchains\4.1.2\
  • Linux: \home\user\config\moku\data\mc\toolchains\4.1.2