Skip to main content
Version: 7.x

Installation

Globally

To install Deployer as phar archive globally, run the following commands:

curl -LO https://deployer.org/deployer.phar
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep
CLI Autocomplete

Deployer comes with autocomplete support for task names, options, and hosts.

Add the following to your ~/.bashrc or ~/.zshrc:

eval "$(dep autocomplete --shell bash)"

Distribution

composer require deployer/dist --dev
Global and local Deployer

If you call a globally installed Deployer via /usr/local/bin/dep in a project directory with a locally installed Deployer at vendor/bin/dep, Deployer will redirect the call to a local Deployer.

~/project $ dep --version
Using ~/project/vendor/bin/dep
Deployer 7.0.0

Source

composer require deployer/deployer --dev
Dependency conflicts

In case of dependency conflicts, install distribution version.



Support Deployer โค๏ธ

Hello, my name is Anton Medvedev. I'm the creator of the Deployer. I maintain this open source project in my spare time. Supporters on GitHub give me extra motivation to work on the project.

Consider supporting Deployer via GitHub Sponsors.