A blazing-fast CLI to save, search, run, and manage your shell command snippets.
- β Save shell commands with descriptions, tags, and metadata
- π Fuzzy search and interactive selection via
dialoguer - π§ Metadata tracking (
created_at,updated_at) - π In-place YAML editing with your preferred editor
- π§ͺ Clipboard support (
--copy) - π Backup/restore with auto-snapshots on every change
- π Import/export snippet collections
- π Optional exec safety flag (
executable: true/false) - π₯ Fast and lightweight β just Rust and YAML
cargo install markitbrew tap Nightstack/markit
brew install markitcurl -LO https://github.com/Nightstack/markit/releases/latest/download/markit-x86_64-unknown-linux-gnu.deb
sudo dpkg -i markit-x86_64-unknown-linux-gnu.debcurl -L https://github.com/Nightstack/markit/releases/latest/download/markit-linux.tar.gz | tar xz
sudo mv markit /usr/local/bin/scoop bucket add Nightstack https://github.com/Nightstack/scoop-markit
scoop install markit- Download the latest
markit-windows.zip - Extract
markit.exe - Optionally add to PATH or run from PowerShell / CMD:
.\markit.exe --helpmarkit --helpmarkit save "docker-clean"
# Prompts for description, tags, and command contentmarkit listmarkit show "docker-clean"markit run "docker-clean"markit copy "docker-clean"markit edit "docker-clean"markit delete "docker-clean"markit list --tag "k8s"markit export snippets.ymlmarkit import snippets.yml --forcemarkit restoreAll data is stored as human-readable YAML in:
~/.markit/bookmarks.ymlAutomatic backups are saved in:
~/.markit/backups/git clone https://github.com/Nightstack/markit
cd markit
cargo run -- <command>cargo build --releaseBuilt for people who Google the same commands 20 times a week. Now you donβt have to.
If markit saves you time, consider buying me a coffee β it helps keep the project going!
MIT