# 使用 Homebrew 安装 lnk

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lnk
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:lnk
- **软件包管理器:** Homebrew
- **版本:** 0.9.1
- **来源摘要:** Git-native dotfiles management that doesn't suck
- **主页:** <https://github.com/yarlson/lnk>
- **仓库:** <https://github.com/yarlson/lnk>
- **最后更新:** 2026-07-26T13:41:02+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- lnk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
