Installation
Raffi needs nothing else to run. Pick whichever install method suits your system.
Package managers
Section titled “Package managers”The AUR has a prebuilt package:
yay -S raffi-binparu -S raffi-bin works too. The raffi package builds from source
instead.
From the unstable channel:
nix-shell -p raffiOr add it to your NixOS configuration:
environment.systemPackages = with pkgs; [ raffi];Homebrew and Linuxbrew both work:
brew tap chmouel/raffi https://github.com/chmouel/raffibrew install raffiIf you have a Rust toolchain:
cargo install raffiRelease archives
Section titled “Release archives”The releases page has archives
and packages for each version. Extract the archive and put raffi somewhere
in your PATH:
tar xzf raffi-*.tar.gzsudo install -m 755 raffi /usr/local/bin/If you only use Raffi through Fuzzel, see the Fuzzel page for a smaller build.
Building from source
Section titled “Building from source”git clone https://github.com/chmouel/raffi.gitcd rafficargo install --path .cargo build --release works too if you’d rather copy
target/release/raffi yourself.
Check that it works
Section titled “Check that it works”raffi --helpprints every option. Run raffi on its own and you should see the
applications installed on your system, ready to search.
Working on Raffi
Section titled “Working on Raffi”To hack on Raffi, clone the repository and install the git hooks. They check formatting, lints and tests before you push:
pip install pre-commitpre-commit installcargo test