Building From Source

Clone the source code.

git clone https://github.com/snubwoody/mukwa.git

Setup Build Environment

You will need to install the Rust programming language to build Mukwa. On Windows install Rust using rustup-init.exe from the Rust website. You may need to install the Visual Studio C++ Build tools as well. On Linux, macOS or Windows Subsystem for Linux you can run the following command to install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Mukwa uses Rust’s nightly channel. The nightly version is pinned in the rust-toolchain.toml. Running cargo build should automatically install it if it is missing.

Linux Dependencies

If you are on Linux you need to install the following dependencies as well.

sudo apt install libx11-xcb-dev \
    xinput \
    libxcursor-dev \
    zenity \
    libxkbcommon-x11-dev \
    libfontconfig1-dev \
    pkg-config \
    libx11-dev \
    mold \
    clang

Building

Now you can build Mukwa by running

cargo build --bin mukwa --release

The mukwa.exe/mukwa binary will be in the target/release directory.

On this page