Skip to main content

Installing Symfony CLI

Symfony CLI is a command line tool that helps you create, develop, and deploy Symfony applications.

Installation

Symfony CLI is available for Linux, macOS, and Windows. You can download the latest version from the Symfony CLI releases page

With wget or curl

# With wget
wget https://get.symfony.com/cli/installer -O - | bash

# With curl
curl -sS https://get.symfony.com/cli/installer | bash

Homebrew

brew install symfony/tap/symfony-cli

Debian/Ubuntu

curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | sudo -E bash
sudo apt install symfony-cli

Fedora

curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.rpm.sh' | sudo -E bash
sudo dnf install symfony-cli

Alpine

sudo apk add --no-cache bash
curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.alpine.sh' | sudo -E bash
sudo apk add symfony-cli

Windows (via Scoop)

scoop install symfony-cli