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.
You can also try LIGO in a Gitpod environment
Dockerised installation (recommended)
Linux or OSX:
docker run --rm -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:0.51.0
For convenience you can alias the above commandalias ligo="docker run --rm -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:0.51.0"
To make this
aliaspersistent across terminal sessions you need to configure your shell.
Here is a good link with the steps on how to do that.
docker run --rm -v "%CD%":/cd -w /cd ligolang/ligo:0.51.0`
For convenience you can alias the above commanddoskey ligo=docker run --rm -v "%CD%":/cd -w /cd ligolang/ligo:0.51.0 $*
To make the alias persistent across terminal sessions you need to add the
doskeyto the Windows Registry.
Follow this stackoverflow answer for the steps on how to do that.
Or if you want the development version, replace the version above with
Or run one of the older versions found on DockerHub.
Try our tap,
Static Linux binary
ligo executable is statically linked. It should run on most modern Linux distributions.
You can get the rolling release here, make it executable, and you are done!
For a specific version, you can visit our release page.
Optionally, you can put it somewhere in your
PATH for easy access:
Debian Linux package installation
.deb package containing the static
ligo executable is also available.
First, download the package, and then install using:
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.