Skip to content

Build or install from source


Before being able to compile the source code, you first have to download it from GitHub and install Golang (if you don't have it already). Furthermore you need a common C++ compiler and CMake to build the compiler executable.

Clone from GitHub

git clone
cd spice

Run setup script for setting up your dev environment

To build Spice, you can use the for Linux or the dev-setup.bat for Windows. This will prepare your dev environment, install the correct LLVM version and builds the Spice executable for the first time to the bin directory.



cd bin
spice [options] <input>