There are currently four ways to get started with LIGO. You can choose to use a Docker image, a static Linux binary, install packages for your Debian Linux distribution, or you can try directly on the online editor.
If you've installed 🐳 Docker, you are able to run the latest LIGO release 0.21.0:
Linux or OSX:
Note that this command is equivalent to running ligo itself, so you might want to create an alias for it:
Or if you want the development version, replace the version above with
Or run one of the older versions found at DockerHub.
ligo executable is statically linked. It should run on most modern Linux distributions.
To use it, get it here, make it executable, and you're done!
Optionally, you can put it somewhere in your
PATH for easy access:
The online editor is the quickest and easiest way to get started.
FIGURE 1: Try Online
You can then execute your code by choosing from the following features:
- Compile Function
- Dry Run
- Evaluate Function
- Evaluate Value
- Generate Deploy Script
FIGURE 2: Online Editor Compilation
Painters need a brush and a canvas. Developers need a good IDE experience. LIGO currently offers support for VSCode, including syntax highlighting and on-the-fly compilation error reporting.