Download a suitable binary from the releases page below and install Coco with the following steps based on your system type.
Visual Studio Code Extension
Cocolang has extended language support for Visual Studio Code through the official extension available at the link below
Install for Linux, macOS & WSL
1. Download the Cocolang Release for your platform
You can download your platform's appropriate release
tar.gz file from the releases pages. Alternatively, you can install it
curl using the link for the appropriate release.
2. Remove any existing installation of Coco
The following command removes any previously existing version of Cocolang from the
~/.coco/bin directory, which is the default install directory. If you had previously installed it at an alternate location, use the appropriate path to remove the installation
rm -rf ~/.coco/bin
3. Unarchive the download
Run the following command to create the
~/.coco/bin and untar the
.tar.gz file into it. This must be done from the directory in which the archive exists.
mkdir -p ~/.coco/bin && tar -C ~/.coco/bin -xzf coco-0.2.0-macos-arm64.tar.gz
4. Set the environment PATH
Add the following line to one of
~/.zshrc or other similar shell source files to add the installation path to the shell.
The changes made to the
PATH of the shell may not be applied until the shell is restarted. To apply the changes immediately, run the following command
5. Verify the installation
Run the following command to verify that Cocolang has been installed on your system
Similarly, run the following command to verify the LogicLab install. LogicLab also requires the initialisation of a lab environment to start the lab REPL. Refer to the LogicLab Documentation
Install for Windows
CocolangSetup.exe for Windows (x86_64) from the releases pages and run it. You may need to execute it with elevated privileges.
- Remove any existing installation of Cocolang or LogicLab
- Untar the tar archive and move the executable files to
- Add the
logiclab -hcommands to verify the installation