Skip to content

Installation

Raffi needs nothing else to run. Pick whichever install method suits your system.

The AUR has a prebuilt package:

Terminal window
yay -S raffi-bin

paru -S raffi-bin works too. The raffi package builds from source instead.

The releases page has archives and packages for each version. Extract the archive and put raffi somewhere in your PATH:

Terminal window
tar xzf raffi-*.tar.gz
sudo install -m 755 raffi /usr/local/bin/

If you only use Raffi through Fuzzel, see the Fuzzel page for a smaller build.

Terminal window
git clone https://github.com/chmouel/raffi.git
cd raffi
cargo install --path .

cargo build --release works too if you’d rather copy target/release/raffi yourself.

Terminal window
raffi --help

prints every option. Run raffi on its own and you should see the applications installed on your system, ready to search.

To hack on Raffi, clone the repository and install the git hooks. They check formatting, lints and tests before you push:

Terminal window
pip install pre-commit
pre-commit install
cargo test