# 使用 Homebrew 安装 desk

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

## 安装

```sh
sudo av install brew:desk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install desk
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:desk
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/desk>
- **版本:** 0.6.0
- **来源摘要:** Lightweight workspace manager for the shell
- **主页:** <https://github.com/jamesob/desk>
- **仓库:** <https://github.com/jamesob/desk>
- **许可证:** MIT
- **源码归档:** <https://github.com/jamesob/desk/archive/refs/tags/v0.6.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- desk (cli)
- desk (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.6.0
- 本地数据: OK
- 上游仓库: https://github.com/jamesob/desk
- 检测到的最新版本: v0.6.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

desk is a lightweight workspace manager for shells. It associates a named project context with a shell script, then starts a shell where that context has been loaded.

### 项目历史

desk's first GitHub release was v0.1.0 in October 2015. The README frames it as deliberately simple: a shell script that sources another shell script in a new shell, but with enough structure to document aliases, functions, environment variables, and project directories.

### 采用历史

The project documented Homebrew installation, direct curl installation, git installation, shell completions for bash, zsh, and fish, and zsh plugin-manager integration through tools such as oh-my-zsh, Antigen, and zgen. That made it easy to adopt in dotfile-heavy developer environments.

### 使用方式

Users create deskfiles under ~/.desk/desks or add a Deskfile to a project directory, then run desk commands to activate, list, edit, or run commands inside those environments. Deskfiles are normal shell scripts with comments used as descriptions and inline command documentation.

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

desk is package-nerd interesting because it is intentionally small shell infrastructure: it competes more with dotfiles, aliases, and shell plugin managers than with large workspace systems, and packages as a single command with no dependency beyond bash.

### 时间线

- 2015: v0.1.0 initial release.
- 2015: v0.4.0 added formatting and desk run work.
- 2016: v0.5.0 added Deskfile work and fish fixes.
- 2016: v0.6.0 changed shell startup to use exec.

### Related projects

- The README names godesk as a related fuzzy-filtering launcher for desk.

### 来源

- <https://github.com/jamesob/desk#readme>
- <https://github.com/jamesob/desk/releases/tag/v0.1.0>
- <https://github.com/jamesob/desk/releases/tag/v0.6.0>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal


## 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: ~/.desk, ~/.desk/desks/*.sh, ./Deskfile
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** desk
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [shellcheck](https://pkg.so/zh-hans/brew/shellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [fish](https://pkg.so/zh-hans/brew/fish/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [powershell](https://pkg.so/zh-hans/brew/powershell/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [parallel](https://pkg.so/zh-hans/brew/parallel/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [shfmt](https://pkg.so/zh-hans/brew/shfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [sheldon](https://pkg.so/zh-hans/brew/sheldon/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [shellspec](https://pkg.so/zh-hans/brew/shellspec/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [mcfly](https://pkg.so/zh-hans/brew/mcfly/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [fizsh](https://pkg.so/zh-hans/brew/fizsh/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, shell.

## Combined YAML source

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


## 来源

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