Installation

If you have installed the Rust toolchain already, you can get our pre-built executable from cargo.

$ cargo install clique-cli

Build from Source

You can also build the executable yourself with the following guidelines.

Pre-requisites

Step-by-step Guide

Clone the Clique CLI from GitHub

$ git clone https://github.com/CliqueOfficial/clique-protocol-sdk.git

Build the Binary with Cargo

$ cd cli
$ cargo build --release --bin clique

Install the Built Executable to System

# Install the binary locally (recommended)
$ cp target/release/clique ~/.local/bin/
# Or if you want to install it globally
$ sudo cp target/release/clique /usr/bin/

Make sure ~/.local/bin is includes in $PATH environment variable.

Last updated