# 使用 Homebrew, Nix 安装 bork

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

## 安装

```sh
sudo av install brew:bork
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bork
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bork
```

  证据: nixpkgs package indexes: pkgs/by-name/bo/bork/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bork
- **软件包管理器:** Homebrew
- **版本:** 0.14.0
- **来源摘要:** Bash-Operated Reconciling Kludge
- **主页:** <https://bork.sh/>
- **仓库:** <https://github.com/borksh/bork>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bork (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.14.0
## 项目历史与用法

bork is a Bash-based declarative configuration-management tool whose joke expansion, Bash-Operated Reconciling Kludge, accurately signals both its Unix minimalism and its Puppet-like reconciliation model.

### 项目历史

The current borksh repository was created in February 2021, while the public project history includes an earlier mattly/bork repository. The official site describes bork as a Bash DSL for declarative assertions about system state.

bork intentionally targets Bash 3.2 and common Unix utilities such as sed, awk, and grep, which makes portability across macOS and Unix-like systems part of the design rather than an accident.

### 采用历史

bork is niche but packaged: the batch input records Homebrew and Nix availability, and the official packages page tracks package versions across channels. That suggests a tool maintained for small-scale operator and dotfile workflows rather than broad enterprise configuration management.

Its adoption is strongest where users want declarative host setup without agents, services, or a large language runtime.

### 使用方式

Users write assertions using ok and no functions, declaring desired states such as files, directories, packages, or services. bork handlers then decide whether to check, install, upgrade, or otherwise reconcile that assertion.

The manpage frames bork files as config files in their own right, so there is no separate fixed config path; users pass or run the scripts that contain their assertions.

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

bork is interesting because it keeps configuration management inside the shell and standard Unix toolbox. It is the opposite of a heavy agent: package it, run a script, reconcile state.

For package curation, it is a reminder that some useful infrastructure tools are intentionally tiny DSLs rather than daemons or platforms.

### 时间线

- 2021-02: Official GitHub repository metadata shows borksh/bork created.
- 2021-02: GitHub release metadata shows v0.11.1 in the public release feed.
- 2025: Repository metadata shows continued maintenance activity.
- 2026: Package-manager input records Homebrew and Nix packaging.

### Related projects

- Puppet is a conceptual reference point in bork's own tagline about configuration management.
- Bash and common Unix utilities are explicit runtime foundations.
- The borksh/homebrew-tap repository is related packaging infrastructure maintained by the project organization.

### 来源

- <https://api.github.com/repos/borksh/bork>
- <https://bork.sh/>
- <https://bork.sh/manpage.html>
- <https://bork.sh/packages.html>
- <https://github.com/borksh/bork>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Nix - bork: normalized package name match | nixpkgs package indexes: pkgs/by-name/bo/bork/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
