Installation
Follow the steps below to install MCQP CLI on your system based on your operating system.
Linux
using .deb package:
sudo dpkg -i mcqp.deb
Using binary file:
- Go to the Release page and download the latest version of MCQP CLI for Linux.
- Extract the downloaded file.
- Move the mcqp binary to
/usr/local/bin
:
chmod +x mcqp/bin/mcqp
sudo mv mcqp/bin/mcqp /usr/local/bin
Windows
- Download the latest version of MCQP CLI for Windows from the Release page.
- Extract the contents and move the MCQP folder to your system drive (e.g., C:\mcqp).
- Add the
bin
folder to your system's PATH:- Open Environment Variables settings:
- Press
Win + X
, then select System. - Click on Advanced system settings > Environment Variables.
- Press
- Under System variables, find and select
Path
, then click Edit. - Add the path to the
mcqp\bin
folder (e.g., C:\mcqp\bin). - Click OK to save changes.
- Open Environment Variables settings:
From Source
- Install Rust and Cargo on your system.
- Clone the repository:
git clone https://github.com/mcqp/mcqp.git
cd mcqp
- Build the binary:
cargo build --release
- Move
./target/release/mcqp
to yourbin
folder. - Verify the installation:
mcqp --version
Once completed, you should be able to run mcqp from the command line.