# 使用 Homebrew 安装 lnk

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

## 安装

```sh
sudo av install brew:lnk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lnk
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:lnk
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lnk>
- **版本:** 0.9.1
- **来源摘要:** Git-native dotfiles management that doesn't suck
- **主页:** <https://github.com/yarlson/lnk>
- **仓库:** <https://github.com/yarlson/lnk>
- **许可证:** MIT
- **源码归档:** <https://github.com/yarlson/lnk/archive/refs/tags/v0.9.1.tar.gz>
- **最后更新:** 2026-07-26T13:41:02+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- lnk (cli)
- lnk (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.1
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/yarlson/lnk
- 检测到的最新版本: v0.9.1 (当前)
## 项目历史与用法

lnk is a small Go-based dotfiles manager built around Git and symbolic links. Its README describes it as intentionally low-ceremony: it moves files into a Git repo, symlinks them back, and tracks managed paths in plain text.

### 项目历史

The yarlson/lnk GitHub repository was created in May 2025. The project presents itself as a git-native dotfiles manager with no templates and no separate config file, using a default repository location under ~/.config/lnk unless overridden by LNK_HOME or XDG_CONFIG_HOME.

### 采用历史

Official adoption evidence is still thin because lnk is young and primarily distributed through its GitHub repository, GitHub releases, Go install, an install script, and Homebrew. The repository metadata shows several hundred stars by mid-2026, suggesting interest among users who want a simpler alternative to larger dotfile frameworks.

### 使用方式

The README's core workflow is init, pull, add, status, diff, push, and host-specific adds. Users keep a Git repository of dotfiles, while lnk restores files to their original paths as symlinks and can keep host-specific files under hostname-based subdirectories.

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

lnk is package-nerd relevant as a deliberately minimal entrant in the crowded dotfiles-manager category. It packages a common shell-script pattern into one Homebrew-installable binary while staying close to Git and POSIX symlinks.

### 时间线

- 2025: The yarlson/lnk repository is created.
- 2025: README documents Homebrew, release binaries, and go install as installation paths.
- 2026: Repository metadata shows continued activity and package-manager availability through Homebrew.

### Related projects

- Git, GNU Stow, chezmoi, and yadm occupy related dotfiles-management territory.
- lnk distinguishes itself by using a plain Git repository and symlink restoration rather than a template-heavy configuration system.

### 来源

- <https://api.github.com/repos/yarlson/lnk>
- <https://github.com/yarlson/lnk>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lnk
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [rcm](https://pkg.so/zh-hans/brew/rcm/) - Shares pkgdb curated category or tags: cli, configuration-management, developer-tools, dotfiles, symlinks.
- [chezmoi](https://pkg.so/zh-hans/brew/chezmoi/) - Shares pkgdb curated category or tags: cli, configuration-management, developer-tools, dotfiles.
- [dotbot](https://pkg.so/zh-hans/brew/dotbot/) - Shares pkgdb curated category or tags: cli, developer-tools, dotfiles, symlinks.
- [dotdrop](https://pkg.so/zh-hans/brew/dotdrop/) - Shares pkgdb curated category or tags: cli, configuration-management, developer-tools, dotfiles.
- [yadm](https://pkg.so/zh-hans/brew/yadm/) - Shares pkgdb curated category or tags: cli, configuration-management, developer-tools, dotfiles, git.
- [dotter](https://pkg.so/zh-hans/brew/dotter/) - Shares pkgdb curated category or tags: cli, developer-tools, dotfiles.
- [vcsh](https://pkg.so/zh-hans/brew/vcsh/) - Shares pkgdb curated category or tags: cli, configuration-management, developer-tools, dotfiles, git.
- [punktf](https://pkg.so/zh-hans/brew/punktf/) - Shares pkgdb curated category or tags: cli, developer-tools, dotfiles.
- [homeshick](https://pkg.so/zh-hans/brew/homeshick/) - Local package facts share a topical domain. Shared terms: cli, configuration, configuration-management, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/lnk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lnk.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
