Installation
Every install uses the same single binary. Linux gets the full module set; macOS and native Windows report a smaller set. On Windows, WSL2 gives you the complete Linux experience.
Arch Linux, Artix and derivatives
A PKGBUILD ships with the repository, so makepkg or yay can build and install the package directly.
git clone https://github.com/endclosure/purrfetch.git
cd purrfetch
makepkg -si
Or let yay handle the build:
git clone https://github.com/endclosure/purrfetch.git
yay -Bi purrfetch
yay -S purrfetch will not work until the package is published to
the AUR; build from the repository instead.
Prebuilt static binary
Download the release for your architecture and install it to /usr/local/bin. The archive contains a binary named purrfetch-linux-amd64 (or -arm64) at its root.
curl -fLO https://github.com/endclosure/purrfetch/releases/download/v1.6.1/purrfetch-1.6.1-linux-amd64.tar.gz
tar -xzf purrfetch-1.6.1-linux-amd64.tar.gz
sudo install -Dm755 purrfetch-linux-amd64 /usr/local/bin/purrfetch
On ARM64, swap amd64 for arm64 in both names:
curl -fLO https://github.com/endclosure/purrfetch/releases/download/v1.6.1/purrfetch-1.6.1-linux-arm64.tar.gz
tar -xzf purrfetch-1.6.1-linux-arm64.tar.gz
sudo install -Dm755 purrfetch-linux-arm64 /usr/local/bin/purrfetch
Without root, use your user prefix:
install -Dm755 purrfetch-linux-amd64 "$HOME/.local/bin/purrfetch"
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
exec bash
Other distributions have no package yet, but the binary has no runtime dependencies; copy it anywhere on your PATH.
macOS
There is no prebuilt macOS binary yet. Build it with Go 1.21 or newer:
brew install go
git clone https://github.com/endclosure/purrfetch.git
cd purrfetch
make install PREFIX="$HOME/.local"
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
exec zsh
Windows installer
The setup program is per-user: no administrator rights, and it puts
purrfetch on your user PATH so it works in both
Command Prompt and PowerShell.
- Download the installer for your architecture: amd64 or arm64.
- Run it. It copies
purrfetch.exeto%LOCALAPPDATA%\Programs\purrfetch, adds that folder to your userPATH, and creates a starter%AppData%\purrfetch\config.json. - Open a new Command Prompt or PowerShell window (already-open terminals keep the old
PATH), then run:
purrfetch
Silent install and removal:
purrfetch-1.6.1-windows-amd64-setup.exe /S
"%LOCALAPPDATA%\Programs\purrfetch\uninstall.exe" /S
Uninstall also from Settings → Apps. The binaries are not
code-signed, so SmartScreen may ask you to confirm. The Windows config lives
at %AppData%\purrfetch\config.json; a fastfetch-style
config.jsonc in that folder is loaded instead when present.
Windows + WSL2 (full feature set)
Inside WSL you run the Linux binary, so every module and distro logo works.
wsl --install -d Ubuntu
Then, inside the Ubuntu shell:
curl -fLO https://github.com/endclosure/purrfetch/releases/download/v1.6.1/purrfetch-1.6.1-linux-amd64.tar.gz
tar -xzf purrfetch-1.6.1-linux-amd64.tar.gz
install -Dm755 purrfetch-linux-amd64 "$HOME/.local/bin/purrfetch"
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
exec bash
purrfetch
In Windows Terminal, WSL is where the colour palette, distro art and full module list shine.
Build from source
Requires Go 1.21 or newer and make. There are no third-party dependencies.
git clone https://github.com/endclosure/purrfetch.git
cd purrfetch
make # builds ./purrfetch
sudo make install # installs to /usr/local/bin/purrfetch
Choose another prefix, or skip make entirely:
make install PREFIX="$HOME/.local"
# or
go build -trimpath -ldflags "-s -w" -o purrfetch .
install -Dm755 purrfetch "$HOME/.local/bin/purrfetch"
Remove it with sudo make uninstall (add the same PREFIX if you used one).
purrfetch --version should print purrfetch 1.6.1.
If the command is not found, open a new shell or check that your install prefix is on PATH.