# 使用 Homebrew, Nix 安装 transcrypt

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

## 安装

```sh
sudo av install brew:transcrypt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install transcrypt
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#transcrypt
```

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

## 软件包事实

- **软件包键:** brew:transcrypt
- **软件包管理器:** Homebrew
- **版本:** 2.3.2
- **来源摘要:** Configure transparent encryption of files in a Git repo
- **主页:** <https://github.com/elasticdog/transcrypt>
- **仓库:** <https://github.com/elasticdog/transcrypt>
- **最后更新:** 2026-05-18T14:24:55Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- transcrypt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

transcrypt is a Bash-based Git encryption helper that configures transparent encryption and decryption for selected files in a repository. It is aimed at teams that want secrets, private keys, or other sensitive files versioned without exposing plaintext in remotes.

### 项目历史

The project was built around Git clean and smudge filters, following the same broad model as git-crypt and git-encrypt while emphasizing usability and safety. Its README highlights that it is a Bash script, uses OpenSSL symmetric ciphers, does not need to remain installed after repository configuration, and adds checks to avoid clobbering existing configuration.

Official release metadata shows active maintenance from at least the 1.x era in 2018 through the 2.x line, with v2.3.2 released in 2026.

### 采用历史

transcrypt's official installation notes document both manual installation and package-manager availability. The project lists Arch Linux, Heroku buildpacks, NixOS, OS X via Homebrew, and FreeBSD packages, which points to adoption by developers who want repository-local encryption available through standard system tooling.

### 使用方式

A typical workflow initializes transcrypt inside a Git repository, marks paths in `.gitattributes` with the crypt filter, commits encrypted versions of selected files, and shares the cipher and password with trusted clones. The README also documents listing encrypted files, checking raw committed contents, initializing a clone, rekeying, flushing credentials, and uninstalling repository configuration.

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

For package nerds, transcrypt is a compact alternative to heavier secret-management systems when the requirement is simply encrypted files in Git. Because it is a single script using Bash, Git, and OpenSSL, distribution packages mostly provide convenient installation, shell completion, and man-page style polish rather than a runtime service.

### 时间线

- 2015: The install guide notes that the NixOS derivation was added in October 2015.
- 2018: Official GitHub releases include the 1.x series.
- 2026: Official GitHub releases list transcrypt v2.3.2.

### Related projects

- The README explicitly compares transcrypt with git-crypt and git-encrypt, all of which use Git filters to encrypt selected repository contents.

### 来源

- <https://api.github.com/repos/elasticdog/transcrypt/releases>
- <https://github.com/elasticdog/transcrypt#readme>
- <https://github.com/elasticdog/transcrypt/blob/main/INSTALL.md>


## 安全说明

没有找到 transcrypt 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Nix - transcrypt: normalized package name match | nixpkgs package indexes: pkgs/by-name/tr/transcrypt/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/transcrypt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/transcrypt.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
