# 使用 Homebrew, Nix 安装 dynein

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

## 安装

```sh
sudo av install brew:dynein
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dynein
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dynein
```

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

## 软件包事实

- **软件包键:** brew:dynein
- **软件包管理器:** Homebrew
- **版本:** 0.3.0
- **来源摘要:** DynamoDB CLI
- **主页:** <https://github.com/awslabs/dynein>
- **仓库:** <https://github.com/awslabs/dynein>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dy (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

dynein is an AWS Labs command-line interface for Amazon DynamoDB, written in Rust and shipped as the `dy` executable.

### 项目历史

The awslabs/dynein repository was created in 2020. Its README describes dynein as a terminal-first DynamoDB CLI designed to reduce typing, use standard JSON instead of DynamoDB JSON where possible, and provide table context switching through commands such as `dy use` and `dy config`.

### 采用历史

dynein has stayed a focused AWS developer tool rather than a broad database client. Its adoption path is through GitHub releases, Homebrew, and source builds, aimed at users who already work with DynamoDB and AWS credentials but want a concise shell workflow.

### 使用方式

Users configure normal AWS credentials, then run `dy ls`, `dy scan`, `dy get`, `dy query`, `dy put`, `dy upd`, `dy del`, import/export commands, backup/restore commands, and DynamoDB Local workflows. The README states that dynein stores local config under `$HOME/.dynein/` and uses AWS credential sources such as `~/.aws/credentials`, environment variables, profiles, and instance roles.

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

dynein is interesting as a single-purpose cloud database CLI from the AWS Labs ecosystem. It overlaps with `aws dynamodb` but optimizes the interactive developer loop: shorter commands, table context, shell completion, JSON ergonomics, and Homebrew installation.

### 时间线

- 2020: awslabs/dynein repository is created.
- 2020s: README documents binary downloads, Homebrew installation, source builds, AWS credential prerequisites, and DynamoDB Local support.
- 2026: Homebrew packages dynein 0.3.0 as the `dy` executable.

### Related projects

- Related projects include Amazon DynamoDB, AWS CLI, DynamoDB Local, aws-sdk-rust, CloudFormation, and other database-specific CLIs that trade general cloud coverage for faster daily table and item operations.

### 来源

- <https://github.com/awslabs/dynein#readme>
- <https://api.github.com/repos/awslabs/dynein>
- <https://formulae.brew.sh/formula/dynein>
- <https://aws.amazon.com/dynamodb/>
- <https://aws.amazon.com/cli/>


## 安全说明

narrow executable package without higher-risk signals.

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


## 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

- Unix: ~/.dynein/config.yml, ~/.aws/config

## Credential files

- Unix: ~/.aws/credentials
## 其他软件包管理器记录

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


## 来源

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