# 使用 Homebrew 安装 cmdshelf

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

## 安装

```sh
sudo av install brew:cmdshelf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cmdshelf
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cmdshelf
- **软件包管理器:** Homebrew
- **版本:** 2.0.2
- **来源摘要:** Better scripting life with cmdshelf
- **主页:** <https://github.com/toshi0383/cmdshelf>
- **仓库:** <https://github.com/toshi0383/cmdshelf>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cmdshelf (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

cmdshelf is a Rust command-line script manager that treats executables in repositories as runnable commands.

### 项目历史

The official README presents cmdshelf as a new way of scripting, emphasizing directory-separated namespaces, no PATH configuration, shell completion, inherited standard streams, and a portable .cmdshelf.toml environment.

### 采用历史

The official README documents Homebrew installation on macOS and Cargo installation from source, while the input facts show Homebrew packaging.

### 使用方式

Users add a repository as a remote, after which cmdshelf records it in ~/.cmdshelf.toml and lazily clones it under ~/.cmdshelf/remote/ when commands are needed.

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

cmdshelf sits in the shell tooling niche of turning version-controlled script collections into executable command namespaces without hand-editing PATH.

### 时间线

- 2018: GitHub releases page lists 1.0.2 as latest on August 18, 2018.

### Related projects

- The official docs position cmdshelf around Git-hosted script repositories rather than a larger related-project family.

### 来源

- <https://github.com/toshi0383/cmdshelf#readme>
- <https://github.com/toshi0383/cmdshelf/blob/master/docs/getting-started.md>
- source_facts.package-manager


## 安全说明

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: ~/.cmdshelf.toml

## Combined YAML source

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


## 来源

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