v0.2.2 — now with one-line installers

Your code snippets,
one command away.

A tiny, dependency-free command-line vault for the code you keep re-Googling. Save it once, search it forever — all offline, all local.

Windows · macOS · Linux · no runtime required

snipvault — zsh

Why Snippet Vault

Small tool. No lock-in.

Everything runs locally, ships in a single file, and gets out of your way.

Zero dependencies

Pure Python standard library. Nothing to audit, nothing to break. The whole tool is a few hundred lines.

Local-first storage

Every snippet lives in a single JSON file in your home directory. No account, no server, no telemetry.

Full-text search

Search matches titles, languages, tags, and the code itself — case-insensitive, instant, offline.

Tags & languages

Label snippets by language and freeform tags so the one command you need is always a keyword away.

Pipe-friendly

`show` prints raw code and nothing else, so it flows straight into your clipboard or the next command.

Agent-ready repo

Ships AGENTS.md, portable skills, and a test subagent — built to be extended by AI coding tools.

The whole workflow

Five commands. That's it.

Save what you learn, find it when you need it, pipe it back out.

01Save a snippet
$snipvault add "recursive delete" "Remove-Item -Recurse -Force path" --lang powershell --tags files
added snippet 1: recursive delete
02List everything
$snipvault list
  id  title                 language    tags
----------------------------------------------------
   1  recursive delete      powershell  files
03Search across every field
$snipvault search files
  id  title                 language    tags
----------------------------------------------------
   1  recursive delete      powershell  files
04Pull the raw code back out
$snipvault show 1
Remove-Item -Recurse -Force path

Install

Up and running in seconds

Pick your platform. Paste one line, or grab the binary directly — no package manager, no dependencies.

One-line install

PowerShell$irm https://raw.githubusercontent.com/skate28/snipvault/main/install.ps1 | iex
or

Direct download

snipvault-windows-x64.exe

Download binary

Already have Python? Install from source with pip:

pip$pip install git+https://github.com/skate28/snipvault.git