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.
You can also try LIGO in a Gitpod environment
#
Dockerised installation (recommended)If you've installed ๐ณ Docker, you can run the latest LIGO release 0.49.0:
Linux or OSX:
docker run --rm -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:0.49.0For convenience you can alias the above command
alias ligo="docker run --rm -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:0.49.0"To make this
alias
persistent across terminal sessions you need to configure your shell.
Here is a good link with the steps on how to do that.
Windows:
docker run --rm -v "%CD%":/cd -w /cd ligolang/ligo:0.49.0`For convenience you can alias the above command
doskey ligo=docker run --rm -v "%CD%":/cd -w /cd ligolang/ligo:0.49.0 $*To make the alias persistent across terminal sessions you need to add the
doskey
to 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 next
.
Or run one of the older versions found on DockerHub.
#
Static Linux binaryThe 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 installationA .deb
package containing the static ligo
executable is also available.
First, download the package, and then install using:
#
ReleasesReleases 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.