# 使用 Homebrew, Nix, chocolatey, MacPorts, scoop 安装 deployer

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

## 安装

```sh
sudo av install brew:deployer
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install deployer
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dep
```

  证据: MacPorts ports tree: devel/dep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#deployer
```

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

### Windows

- Chocolatey (92%):

```sh
choco install dep
```

  证据: Chocolatey community package catalog: dep from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','deezer'

- Scoop (92%):

```sh
scoop install main/dep
```

  证据: Scoop official bucket manifest trees: bucket/dep.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:deployer
- **软件包管理器:** Homebrew
- **版本:** 8.0.5
- **来源摘要:** Deployment tool written in PHP with support for popular frameworks
- **主页:** <https://deployer.org/>
- **仓库:** <https://github.com/deployphp/deployer>
- **最后更新:** 2026-05-18T20:00:47Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dep (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Deployer is a PHP deployment CLI focused on repeatable application releases, provisioning, framework recipes, and zero-downtime deployment patterns. It gives PHP projects a programmable deployment file and a `dep` command instead of a pile of shell snippets.

### 项目历史

The official deployphp/deployer repository was created in 2013. Its README presents Deployer as a PHP deployment tool with built-in support for popular frameworks, automatic server provisioning, zero-downtime deployments, and ready-to-use recipes.

The versioned documentation shows the modern workflow: install Deployer, run `dep init`, and answer prompts to create `deploy.php` or `deploy.yaml` with hosts, tasks, and imported recipes.

### 采用历史

Deployer spread through PHP application teams because it matched the shape of PHP projects: a Composer-installable tool, framework recipes, SSH-based hosts, and recipes that can be kept near application code. Its Homebrew, MacPorts, Scoop, Chocolatey, and Nix packaging made the `dep` binary convenient outside pure Composer installs.

### 使用方式

A typical project keeps a `deploy.php` or `deploy.yaml` recipe in the repository, defines hosts and `deploy_path`, and runs `dep deploy`. The docs recommend keeping SSH identity details in `~/.ssh/config`, while the tool manages release directories, shared files, current symlinks, rollback-oriented release history, and custom tasks.

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

For package nerds, Deployer is a good example of deployment logic packaged as a language-native CLI. It sits between Composer, SSH, framework conventions, and release directory layouts, showing how packaging culture can turn an operations pattern into a reusable command.

### 时间线

- 2013: Official deployphp/deployer repository created.
- 2026: Current documentation centers on Deployer 8.x.
- 2026: Getting-started docs document `deploy.php` and `deploy.yaml` recipe generation.

### Related projects

- Related official resources include Deployer recipes, the Deployer GitHub Action, and the deployphp/deployer Docker image.

### 来源

- <https://github.com/deployphp/deployer#readme>
- <https://deployer.org/docs/8.x/getting-started>
- <https://api.github.com/repos/deployphp/deployer>


## 安全说明

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



## 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: deploy.php, deploy.yaml

## Credential files

- Unix: ~/.ssh/config, ~/.ssh/id_rsa
## 其他软件包管理器记录

- Nix - deployer: normalized package name match | nixpkgs package indexes: pkgs/by-name/de/deployer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - dep: installed executable or alias match | MacPorts ports tree: devel/dep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - dep: installed executable or alias match | Chocolatey community package catalog: dep from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','deezer'
- Scoop - main/dep: installed executable or alias match | Scoop official bucket manifest trees: bucket/dep.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/deployer.yml](https://github.com/mxcl/pkgdb/blob/main/combined/deployer.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
