macOS
brew install petlocal Homebrew formula metadata
brew / rank 6197
Simple command-line snippet manager. Version 1.0.1 via Homebrew; verified 2026-09-13. Also installable with nix: nix profile install nixpkgs#pet.
install
brew install petlocal Homebrew formula metadata
nix profile install nixpkgs#petnixpkgs package indexes · pkgs/by-name/pe/pet/package.nix · source: api.github.com
scoop install extras/petScoop official bucket manifest trees · bucket/pet.json · source: api.github.com
overview
Simple command-line snippet manager
history
pet is a command-line manager for saving, tagging, searching, parameterizing, and executing reusable shell snippets.
pet was created after its author found complex or infrequently used commands difficult to remember and retrieve from shell history. It was inspired by the memo snippet manager and implemented in Go for easy binary distribution.
The maintainers describe pet as nearly eight years old and used by developers around the world. Official installation instructions cover standalone binaries, Homebrew, Debian- and RPM-family packages, and Arch User Repository packages.
Users add snippets with `pet new`, search or execute them interactively, and edit the TOML snippet store directly. Shell bindings can insert a selected snippet at the command line, while optional sync backends share snippets across machines.
pet turns frequently reused shell fragments into tagged, searchable data rather than leaving them buried in shell history. Its plain TOML storage, fuzzy-finder integration, parameterized snippets, and optional hosted synchronization make it especially attractive to terminal-heavy users.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/pet/config.tomlCredential-bearing paths to review before unattended agent runs.
~/.config/pet/config.tomlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
pet | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/knqyf263/pet
install metadata
| Package key | brew:pet |
|---|---|
| Version | 1.0.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pet |
| Homepage | https://github.com/knqyf263/pet |
| Repository | https://github.com/knqyf263/pet |
| License | MIT |
| Source archive | https://github.com/knqyf263/pet/archive/refs/tags/v1.0.1.tar.gz |
| Last updated | 2026-09-13T11:19:32Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pet |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
pet
nix profile install nixpkgs#petextras/pet
scoop install extras/petsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.