# 使用 Homebrew 安装 desk

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install desk
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:desk
- **软件包管理器:** Homebrew
- **版本:** 0.6.0
- **来源摘要:** Lightweight workspace manager for the shell
- **主页:** <https://github.com/jamesob/desk>
- **仓库:** <https://github.com/jamesob/desk>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- desk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
