# Install symfony-cli with Homebrew, MacPorts, Nix, scoop, apt

Build, run, and manage Symfony applications. Version 5.17.1 via Homebrew; verified 2026-06-15.

## Install

```sh
sudo av install brew:symfony-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install symfony-cli
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install symfony-cli
```

  Evidence: MacPorts ports tree: devel/symfony-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#symfony-cli
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sy/symfony-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install php-symfony
```

  Evidence: Debian stable package indexes: php-symfony from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Scoop (92%):

```sh
scoop install main/symfony-cli
```

  Evidence: Scoop official bucket manifest trees: bucket/symfony-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:symfony-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/symfony-cli>
- **Version:** 5.17.1
- **Source summary:** Build, run, and manage Symfony applications
- **Homepage:** <https://symfony.com/download>
- **Repository:** <https://github.com/symfony-cli/symfony-cli>
- **Upstream docs:** <https://github.com/symfony-cli/symfony-cli/blob/main/README.md>
- **License:** AGPL-3.0-or-later
- **Source archive:** <https://github.com/symfony-cli/symfony-cli/archive/refs/tags/v5.17.1.tar.gz>
- **Last updated:** 2026-06-15T10:21:21-04:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- symfony (cli)
- symfony (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.17.1
- Package-manager updated: 2026-06-15
- Local data: ok
- Upstream repository: https://github.com/symfony-cli/symfony-cli
- Upstream latest detected: v5.17.1 (current)
## Project history and usage

Symfony CLI is the official terminal tool around the Symfony PHP framework, combining project creation, a local development web server, PHP version selection, Docker integration, and Symfony Cloud workflows.

### Project history

Symfony's official documentation presents the CLI as a free and open source developer tool for building, running, and managing Symfony applications from the terminal. The Symfony blog describes the new Symfony binary as announced during SymfonyCon Lisbon 2018, with the local web server improving rapidly afterward.

Symfony 4.4 deprecated WebServerBundle in favor of the Symfony local web server, making the CLI-backed server the recommended local development path rather than a framework bundle wrapper around PHP's built-in server.

### Adoption history

The CLI became a standard part of Symfony development because it is tied to everyday commands: creating applications, running local HTTPS servers, installing local certificate authorities, attaching local domains, detecting Docker services, and running Composer through Symfony-aware wrappers. Official Symfony weekly posts repeatedly call it a must-have local development tool.

The input package metadata shows the CLI in Homebrew, MacPorts, Nix, Scoop, Debian, and Ubuntu package ecosystems, reflecting its role as a cross-platform executable rather than only a PHP Composer dependency.

### How it is used

Common usage starts with `symfony new`, then `symfony server:start`, `symfony open:local`, `symfony php`, `symfony composer`, local proxy/domain commands, Docker service environment export, and Symfony Cloud commands. The docs also note autocompletion support for Bash, Zsh, and Fish.

### Why package nerds care

Symfony CLI is package-manager interesting because it packages a framework-adjacent workflow as a standalone binary. For PHP developers, it bridges Composer, local PHP installations, Docker Compose services, TLS certificates, and cloud deployment commands in one executable that can be installed by Homebrew or other system package managers.

### Timeline

- 2018: The Symfony binary was announced during SymfonyCon Lisbon 2018.
- 2019: Symfony local web server releases began appearing on GitHub, and Symfony 4.4 deprecated WebServerBundle in favor of the local web server.
- 2020: Symfony CLI added Composer 2-aware behavior through `symfony composer`.
- 2026: Current Symfony docs describe Symfony CLI as the terminal tool for project creation, local server, PHP management, Docker integration, and Symfony Cloud integration.

### Related projects

- Symfony CLI sits beside the Symfony framework, Composer, PHP-FPM, Docker Compose, Symfony Cloud, and the deprecated WebServerBundle. Its local web server replaced the older bundle-centered workflow for many developers.

### Sources

- <https://symfony.com/blog/composer-2-support-in-symfony-cli-and-symfonycloud>
- <https://symfony.com/blog/local-web-server-reloaded-for-symfony-apps>
- <https://symfony.com/blog/new-in-symfony-4-4-misc-improvements-part-3>
- <https://symfony.com/doc/current/setup/symfony_cli.html>
- input source_facts.package-manager


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## 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: php.ini
## Source Database Details

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

## Other Package-Manager Records

- Nix - symfony-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/sy/symfony-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - symfony-cli: normalized package name match | MacPorts ports tree: devel/symfony-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/symfony-cli: normalized package name match | Scoop official bucket manifest trees: bucket/symfony-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Debian apt - php-symfony - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | set of reusable components and framework for web projects | https://symfony.com/
- Debian apt - php-symfony-all-my-sms-notifier - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-all-my-sms-notifier from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony AllMySms Notifier Bridge | https://symfony.com/doc/6.4/notifier.html
- Debian apt - php-symfony-amazon-mailer - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-amazon-mailer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony Amazon Mailer Bridge | https://symfony.com/doc/6.4/components/mailer.html
- Debian apt - php-symfony-amazon-sns-notifier - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-amazon-sns-notifier from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony Amazon SNS Notifier Bridge | https://symfony.com/doc/6.4/notifier.html
- Debian apt - php-symfony-amazon-sqs-messenger - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-amazon-sqs-messenger from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony Amazon SQS extension Messenger Bridge | https://symfony.com/doc/6.4/components/messenger.html
- Debian apt - php-symfony-amqp-messenger - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-amqp-messenger from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony AMQP extension Messenger Bridge | https://symfony.com/doc/6.4/components/messenger.html
- Debian apt - php-symfony-asset - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-asset from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | manage asset URLs | https://symfony.com/doc/6.4/components/asset.html
- Debian apt - php-symfony-asset-mapper - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-asset-mapper from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | maps directories of asset and makes them available in a public directory | https://symfony.com/
- Debian apt - php-symfony-bandwidth-notifier - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-bandwidth-notifier from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony Bandwidth Notifier Bridge | https://symfony.com/doc/6.4/notifier.html
- Debian apt - php-symfony-beanstalkd-messenger - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-beanstalkd-messenger from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony Beanstalkd Messenger Bridge | https://symfony.com/doc/6.4/components/messenger.html
- Debian apt - php-symfony-brevo-mailer - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-brevo-mailer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony Brevo Mailer Bridge | https://symfony.com/doc/6.4/components/mailer.html
- Debian apt - php-symfony-brevo-notifier - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-brevo-notifier from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Symfony Brevo Notifier Bridge | https://symfony.com/doc/6.4/notifier.html
- Debian apt - php-symfony-browser-kit - 6.4.21+dfsg-2+deb13u1: installed executable or alias match | Debian stable package indexes: php-symfony-browser-kit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simulate the behavior of a web browser | https://symfony.com/doc/6.4/components/browser_kit.html


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gnustep-base](https://www.automicvault.com/pkg/brew/gnustep-base/) - Shares av.db curated category or tags: cli, developer-tools, framework, frameworks.
- [css-crush](https://www.automicvault.com/pkg/brew/css-crush/) - Shares av.db curated category or tags: cli, developer-tools, php, web-development.
- [anchor](https://www.automicvault.com/pkg/brew/anchor/) - Shares av.db curated category or tags: cli, developer-tools, framework.
- [angular-cli](https://www.automicvault.com/pkg/brew/angular-cli/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [atf](https://www.automicvault.com/pkg/brew/atf/) - Shares av.db curated category or tags: cli, developer-tools, framework.
- [bb-cli](https://www.automicvault.com/pkg/brew/bb-cli/) - Shares av.db curated category or tags: cli, developer-tools, php.
- [brew-php-switcher](https://www.automicvault.com/pkg/brew/brew-php-switcher/) - Shares av.db curated category or tags: cli, developer-tools, php.
- [brpc](https://www.automicvault.com/pkg/brew/brpc/) - Shares av.db curated category or tags: cli, developer-tools, framework.
- [moon](https://www.automicvault.com/pkg/brew/moon/) - Local metadata places this package in an adjacent workflow. Shared terms: build, cli, developer, developer-tools, development.

## Combined YAML source

View the package source record on GitHub. [combined/symfony-cli.yml](https://github.com/automic-vault/db/blob/main/combined/symfony-cli.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
