ligo/gitlab-pages/docs/setup-installation.md

1.3 KiB

id title
setup-installation Installation

There are currently two ways to get started with Ligo, both of those will allow you to use the Ligo CLI with your contracts. You can choose to use either the Docker image, or to compile & build the Ligo CLI yourself.

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

Easiest way to use LIGO is through the Docker image available at Docker Hub. Sources for the image can be found on Gitlab. You can either run the docker image yourself, or you can setup a global ligo executable as shown below.

Setting up a globally available ligo executable

You can install additional ligo versions by replacing next with the required version number

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

# e.g. 1.0.0 (stable)
curl https://gitlab.com/ligolang/ligo/raw/master/scripts/installer.sh | bash -s "1.0.0"

Verify your ligo installation by running:

ligo --help

Manual installation (advanced)

For now, please refer to the steps described in the Dockerfile.