Skip to content

Installation ​

Snipraw ships as a single binary with no runtime dependencies. Install it via the convenience script, or download and run it manually.

Linux & macOS

bash
bash <(curl -fsSL https://raw.githubusercontent.com/patppuccin/snipraw/main/scripts/install.sh)

Windows (PowerShell 5.1+)

powershell
powershell -ExecutionPolicy Bypass -NoProfile -c "irm https://raw.githubusercontent.com/patppuccin/snipraw/main/scripts/install.ps1 | iex"

The script detects your platform and architecture, downloads the latest release, and installs the binary onto your PATH.

Manual install ​

Download the archive for your platform from the GitHub releases page, extract it, and move the binary onto your PATH.

bash
tar -xzf snipraw-linux-x86_64.tar.gz
chmod +x snipraw
sudo mv snipraw /usr/local/bin/snipraw

On Windows, extract the .zip and move snipraw.exe to a directory on your PATH.

Verify the installation:

bash
snipraw --version

First run ​

Snipraw needs a config file pointing at your snippets directory:

yaml
# ~/.config/snipraw/config.yaml
snippets-dir: ~/snippets

Then run:

bash
snipraw -c ~/.config/snipraw/config.yaml

Open http://localhost:8245 in your browser. If the directory in snippets-dir doesn't exist, snipraw exits with an error, it won't create it for you.

Updating ​

Download the new binary and replace the old one. Snipraw has no state to migrate.

TIP

If you installed via a package manager or custom path, make sure the new binary lands in the same location.