Skip to content

Installation

Packages are available install via Scoop and WinGet on Windows, and Homebrew and Nix on macOS.

You may also build from source on both platforms.

It is highly recommended that you enable support for long paths in Windows by running the following command in an Administrator Terminal before installing komorebi.

Terminal window
Set-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1

It is also highly recommended that you enable the “Turn off all unnecessary animations (when possible)” option in “Control Panel > Ease of Access > Ease of Access Centre / Make the computer easier to see” for the best performance with komorebi.

Add the extras bucket
scoop bucket add extras
Install komorebi and whkd
scoop install komorebi whkd

Make sure you have installed rustup, a stable Rust compiler toolchain, and if compiling on Windows, the Visual Studio Visual Studio prerequisites.

Clone the git repository, enter the directory, and build the following binaries:

Build and install the individual binaries
# Windows and macOS
cargo +stable install --path komorebi --locked
cargo +stable install --path komorebic --locked
cargo +stable install --path komorebi-bar --locked
# Windows only
cargo +stable install --path komorebi-shortcuts --locked
cargo +stable install --path komorebic-no-console --locked
cargo +stable install --path komorebi-gui --locked

The binaries will be installed to $HOME/.cargo/bin. It is your responsibility to ensure this directory is in your $PATH.

You can follow similar instructions to build whkd from source on Windows.

Windows users can download the latest komorebi and whkd MSI installers on an internet-connected computer, then copy them to an offline machine to install.