-
Go to releases and download the binary for your os/architecture (e.g. linux/arm64). Copy the URL
-
Download the file to your local filesystem, e.g.
wget https://github.com/coherenceplatform/cocli/releases/download/v1.0.2/cocli-linux-amd64
, rename it tococli
withmv cocli-linux-amd64 cocli
. -
Move the file into a location that is in your
$PATH
(e.g. /usr/local/bin). We recommend renaming the filecocli
. e.g.
mv ~/Downloads/cocli-linux-arm64 /usr/local/bin/cocli
- You'll likely need to update permissions to make the file executable:
chmod +x /usr/local/bin/cocli
- Test that cocli works:
cocli -h
N.B. If you get an error trying to use the cli on a mac (along the lines of e.g. "...can’t be opened because apple cannot check it for malicious software.") then follow these steps to grant an exception for cocli.
For authentication you just need to get a personal access token from coherence.
cocli will expect the token to be set as COHERENCE_ACCESS_TOKEN