Environment set up
Node.js
For Squid to run we need to have Node.js installed. To do that:
- On Linux: Use the package manager of you distro or the official binaries.
- On MacOS: An easy way is to use Homebrew.
- On Windows: The best bet is to leverage WSL2 and follow this guide. Alternatively, simply use the instructions for Linux directly in WSL.
If Node.js is already present in the system, ensure that version 16 or later is installed. To get the installed version, run:
node --version
Subsquid CLI
Follow these instructions.
Docker
The other requisite is Docker, which has similar options:
- Here’s an example of how to install Docker on Ubuntu
- MacOS users have a Desktop version
- And so do Windows users