pkg.soopen package index

brew / rank 6197

Install pet with Homebrew, Nix, scoop

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

Additional install commands

macOS

Homebrewverified · 100%
brew install pet

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#pet

nixpkgs package indexes · pkgs/by-name/pe/pet/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install extras/pet

Scoop official bucket manifest trees · bucket/pet.json · source: api.github.com

overview

Package summary

Simple command-line snippet manager

Commands and aliases

  • pet

history

Project history and usage

pet is a command-line manager for saving, tagging, searching, parameterizing, and executing reusable shell snippets.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • Project origin: Created as a command-snippet manager inspired by memo.
  • Later development: Added shell integrations and synchronization through Gist, GitHub Enterprise, and GitLab Snippets.
  • By the current official README: Described by its maintainers as nearly eight years old and used worldwide.

Related projects

  • The official README identifies memo as an inspiration and supports fzf or peco as interactive selectors. GitHub Gist, GitHub Enterprise Gist, and GitLab Snippets can serve as synchronization backends.

Sources

  • Official README: https://github.com/knqyf263/pet#readme

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/pet/config.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/pet/config.toml

executables

Installed executables

CommandKindExposureNote
petcliglobal executable

freshness

Version and 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.

page generated2026-09-19
manager version1.0.1
manager updated2026-09-13
local dataok
upstreamcurrent
latest detectedv1.0.1

https://github.com/knqyf263/pet

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:pet
Version1.0.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pet
Homepagehttps://github.com/knqyf263/pet
Repositoryhttps://github.com/knqyf263/pet
LicenseMIT
Source archivehttps://github.com/knqyf263/pet/archive/refs/tags/v1.0.1.tar.gz
Last updated2026-09-13T11:19:32Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepet
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

pet

nix profile install nixpkgs#pet
  • normalized package name match
  • Matched by: Pet
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pe/pet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

extras/pet

scoop install extras/pet
  • normalized package name match
  • Matched by: Pet
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/pet.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation