Add build & packaging scripts for multiplatform ligo binary distribution See merge request ligolang/ligo!114
1.9 KiB
id | title |
---|---|
installation | Installation |
There are currently two ways to get started with Ligo. You can choose to either use a Docker image, 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, the first is to use our installation script to set up a globally available LIGO executable (see below). This manages the Docker bits for you. The second is to directly 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
You can install additional ligo versions by replacing
next
with the required version number
Download the latest binaries here: https://gitlab.com/ligolang/ligo/pipelines/85536879/builds or 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
Debian Linux package installation
We have produced .deb packages for a few Debian Linuxes. They will install a global ligo
executable. You can install them in the usual way.