pkg.sopackage field notes

brew / 排名 3061

使用 Homebrew 安装 yadm

查看 yadm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install yadm

provider-native install command

概览

软件包摘要

Yet Another Dotfiles Manager

命令和别名

  • yadm

历史

项目历史与用法

yadm, Yet Another Dotfiles Manager, is a Git-based dotfile manager that keeps files in their natural locations under $HOME while storing them in a single repository. Its identity is deliberately boring in the best way: if a user knows Git, yadm mostly feels like Git plus dotfile-specific alternates, encryption, bootstrap, hooks, and templates.

项目历史

The project was created by Tim Byrne and shared as open source in 2015, according to the author's Hacker News explanation. The motivation was portability, seamless Git interaction, alternate files for different hosts, and encryption for private data.

Early yadm solved a practical dotfiles problem: a bare Git repository in $HOME is powerful, but awkward around secrets, host-specific files, and new-machine bootstrap. yadm wrapped Git so the repository can track files in place while hiding the Git plumbing from day-to-day commands.

The 2.x and 3.x change logs show steady evolution rather than reinvention. Version 2.0.0 redesigned alternate processing, added XDG base-directory support, templates, distro-aware alternates, and an upgrade command; version 3.0.0 added OpenSSL encryption support, include directives in the built-in template processor, and moved default repository/encrypted archive locations under XDG-style data directories.

采用历史

yadm spread through developer workstations and Unix package managers because it let users manage dotfiles without symlink farms or a custom DSL. The official site sells the core adoption hook clearly: anything a user can do with Git, they can do using yadm.

Its practical adoption is visible in distribution packages, docs, blog posts, and configuration-management roles. Users often pair it with broader system setup tools: yadm pulls dotfiles, decrypts secrets, selects alternates, and runs bootstrap scripts, while tools such as Home Manager, Ansible, or shell installers handle larger machine state.

使用方式

Typical usage starts with yadm init or yadm clone, then yadm add, commit, push, pull, and status in the same mental model as Git. The work tree is the user's home directory, so dotfiles remain where applications expect them.

The features that distinguish yadm from plain bare Git are alternates for OS/hostname/user/class differences, encrypted archives for sensitive files, bootstrap scripts for new machines, hooks around commands, and templates for generating machine-specific content.

为什么软件包爱好者会关心

yadm matters to package nerds because it is a thin wrapper over Git that resists inventing a second configuration-management universe. It packages the bare-repo dotfiles pattern into one command with just enough extra machinery for secrets and host variance.

It is also a clean example of a tool whose package value is ergonomic, not algorithmic: the hard dependency is already Git, but the wrapper codifies safe defaults, XDG paths, alternates, encryption, and bootstrap conventions that many users would otherwise script badly.

时间线

  • 2015: Tim Byrne shares yadm as an open-source dotfile manager focused on Git portability, alternates, and encryption.
  • 1.10.0: yadm transitions to semantic versioning.
  • 2.0.0: yadm adds XDG base-directory support, redesigns alternate processing, adds a built-in default template processor, distro-aware alternates, and an upgrade command.
  • 3.0.0: yadm adds OpenSSL encryption support, built-in template includes, default-branch improvements, and new XDG-style default repository/archive paths.
  • 2020s: yadm continues as a mature dotfile package across Homebrew, Debian/Ubuntu, Arch, Nix, MacPorts, Alpine, and other package ecosystems.

Related projects

  • Git is the underlying storage and command model for yadm.
  • chezmoi, GNU Stow, vcsh, homesick, and dotbot are neighboring dotfile-management tools with different tradeoffs around templating, symlinks, and repository layout.
  • GPG, OpenSSL, git-crypt, and transcrypt are related through yadm's encrypted-file workflows.
  • Nix Home Manager and Ansible often complement yadm by managing packages and system state while yadm manages personal files.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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/yadm/config

可执行文件

已安装的可执行文件

命令类型暴露范围备注
yadm可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本3.5.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:yadm
版本3.5.0
软件包管理器Homebrew
主页https://yadm.io/
仓库https://github.com/yadm-dev/yadm
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation