macOS
brew install petlocal Homebrew formula metadata
安装
brew install petlocal Homebrew formula metadata
nix profile install nixpkgs#petnixpkgs package indexes · pkgs/by-name/pe/pet/package.nix · 来源: api.github.com
scoop install extras/petScoop official bucket manifest trees · bucket/pet.json · 来源: api.github.com
概览
Simple command-line snippet manager
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pet | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/knqyf263/pet
安装元数据
| 软件包键 | brew:pet |
|---|---|
| 版本 | 1.0.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pet |
| 主页 | https://github.com/knqyf263/pet |
| 仓库 | https://github.com/knqyf263/pet |
| 许可证 | MIT |
| 源码归档 | https://github.com/knqyf263/pet/archive/refs/tags/v1.0.1.tar.gz |
| 最后更新 | 2026-09-13T11:19:32Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
pet
nix profile install nixpkgs#petextras/pet
scoop install extras/pet来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.