Skip to main content Link Search Menu Expand Document (external link)

Getting Spectrum

To get Spectrum, you need to build it from source. As long as you’re running Linux[1] and have Nix and git installed, it’s very easy to do.

Before you start, consider setting up the Spectrum binary cache, which will save you a lot of time waiting for builds.

Trying Spectrum

If you want to try Spectrum out to get a feel for it, without installing it, you can run it in a development VM with some example applications.

git clone
git clone
git clone -b rootfs --reference nixpkgs \ nixpkgs-spectrum
cd spectrum/host/rootfs
nix-shell -I nixpkgs=../../../nixpkgs-spectrum --run 'make run'

This builds just enough of Spectrum to try it out in a VM, but it will still take a very long time.

Building Installer

git clone
nix-build spectrum/release/combined \
  -I nixpkgs=

If you haven’t set up the binary cache, this will take a very long time. When it’s done, a symbolic link named "result" will appear, pointing to a Spectrum USB installer image.

Do not use Spectrum for anything important or sensitive as it is not yet suitable for real-world use. Many important security properties are currently missing, and there is no procedure for updating to new versions—you have to reinstall the OS.

1. Building from other operating systems might work, but hasn’t been tested. Patches are welcome to support building from other operating systems, as long as they’re not too invasive.