First, you need to get the Hare compiler. In order to do that grab QBE and scdoc, both of which are packaged for Fedora 42. Now, harec is packaged as well but as of 2026-01-28, it's packaged at v0.24.2, while upstream's latest release is v0.25.2.
Trying to build Hare with v0.24.2 I got an error
HAREC .cache/rt.ssa rt/u64tos.ha:9:39: syntax error: expected ';', found '!' 9 | static append(sl, '0')!; | ^ make: *** [makefiles/linux.x86_64.mk:11: .cache/rt.ssa] Error 3
So, skip the packaged version of harec
sudo dnf install qbe scdoc git clone https://git.sr.ht/~sircmpwn/harec cd harec git checkout v0.25.2 cp configs/linux.mk config.mk && make sudo make install
Now clone and build the Hare compiler
git clone https://git.sr.ht/~sircmpwn/hare cd hare git checkout v0.25.2 cp configs/linux.mk config.mk && make sudo make install
Now Himitsu itself
git clone https://git.sr.ht/~sircmpwn/himitsu cd himitsu && make sudo make install
You also need a prompter. Currently, I only know of the gtk one (sad): hiprompt-gtk. Meaning, we need to go and grab all the dependencies to build GTK programs in Hare.
sudo dnf install gobject-introspection gobject-introspection-devel git clone https://git.sr.ht/~yerinalexey/hare-gi cd hare-gi && make sudo make install
sudo dnf install libadwaita libadwaita-devel git clone https://git.sr.ht/~sircmpwn/hare-adwaita cd hare-adwaita && make sudo make install
git clone https://git.sr.ht/~sircmpwn/hare-gtk4-layer-shell cd hare-gtk4-layer-shell && make sudo make install
Note: Despite gtk4-layer-shell's documentation uniquivocally stating:
Layer shell is not supported on:
- Gnome-on-Wayland
- Any X11 desktop
hare-gtk4-layer-shell and hiprompt-gtk both compile and work just fine on X11. Onward.
git clone https://git.sr.ht/~sircmpwn/hiprompt-gtk cd hiprompt-gtk && make sudo make install
Now that you have everything, start the himitsu daemon
$ himitsud
Create a store
$ himitsu-store -i
Start adding secrets
$ hiq -a proto=web host=example.org user=jdoe password!=hunter2