Installation

There are currently three ways to get started with LIGO. You can choose to use a Docker image, a static Linux binary or to install packages for your Debian Linux distribution.

Dockerized installation (recommended)

🐳 You can find instructions on how to install Docker here.

It's easiest to use LIGO through one of its Docker images. You have two options:

  • Use our installation script to set up a globally available ligo executable (see below). This manages the Docker bits for you.
  • Use the Docker image available at Docker Hub. This lets you run multiple versions and keep your installation(s) self-contained but requires more familiarity with Docker.

Sources for the image can be found on GitLab. If this is your first time using Docker, you probably want to set up a global ligo executable as shown below.

Setting up a globally available ligo executable

Get the latest pre-release:

# next (pre-release)
curl https://gitlab.com/ligolang/ligo/raw/dev/scripts/installer.sh | bash -s "next"

Verify your LIGO installation by running:

ligo --help

Static Linux binary

The ligo executable is statically linked. It should run on most modern Linux distributions.

To use it, get it here, make it executable, you're done!

wget https://ligolang.org/bin/linux/ligo
chmod +x ./ligo

Optionally, you can put it somewhere in your PATH for easy access:

sudo cp ./ligo /usr/local/bin

Debian Linux package installation

A .deb package containing the static ligo executable is also available. First, download the package, and then install using:

sudo apt install ./ligo.deb

Releases

Releases are available at the releases page of gitlab project. All the artifacts are attached there.

If you wish to see the changelog, you can either run ligo changelog or go to this page. It contains links to corresponding releases, should you wish to download the artifacts.