# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/deployer>
- **版本:** 8.0.5
- **来源摘要:** Deployment tool written in PHP with support for popular frameworks
- **主页:** <https://deployer.org/>
- **仓库:** <https://github.com/deployphp/deployer>
- **上游文档:** <https://deployer.org/>
- **许可证:** MIT
- **源码归档:** <https://github.com/deployphp/deployer/releases/download/v8.0.5/deployer.phar>
- **最后更新:** 2026-05-18T20:00:47Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dep (cli)
- dep (别名)

## 依赖

- php

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 8.0.5
- 管理器更新时间: 2026-05-18
- 本地数据: OK
- 上游仓库: https://github.com/deployphp/deployer
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** deployer
- **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

## 其他软件包管理器记录

- 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


## 相关链接

- [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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [php](https://pkg.so/zh-hans/brew/php/) - Runtime dependency declared by Homebrew.
- [modman](https://pkg.so/zh-hans/brew/modman/) - Shares pkgdb curated category or tags: cli, deployment, developer-tools, php.
- [netlify-cli](https://pkg.so/zh-hans/brew/netlify-cli/) - Shares pkgdb curated category or tags: cli, deployment, developer-tools.
- [fabric](https://pkg.so/zh-hans/brew/fabric/) - Shares pkgdb curated category or tags: cli, deployment, developer-tools.
- [kargo](https://pkg.so/zh-hans/brew/kargo/) - Shares pkgdb curated category or tags: cli, deployment, developer-tools.
- [kapp](https://pkg.so/zh-hans/brew/kapp/) - Shares pkgdb curated category or tags: cli, deployment, developer-tools.
- [shub](https://pkg.so/zh-hans/brew/shub/) - Shares pkgdb curated category or tags: cli, deployment, developer-tools.
- [kamal-proxy](https://pkg.so/zh-hans/brew/kamal-proxy/) - Shares pkgdb curated category or tags: cli, deployment, developer-tools.
- [cartridge-cli](https://pkg.so/zh-hans/brew/cartridge-cli/) - Shares pkgdb curated category or tags: cli, deployment, developer-tools.
- [bb-cli](https://pkg.so/zh-hans/brew/bb-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, php, written.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
