BCD

Command-line tools › P

Run php@8.2 from ChatGPT or Claude

General-purpose scripting language. With BCD, ChatGPT, Claude and other AI apps can install and run php@8.2 on your own computer and read what it prints.

Works on

About php@8.2

Version
8.2.35
License
PHP-3.01 AND Zend-2.0 AND BSL-1.0 AND MIT AND Apache-1.0 AND bcrypt-Solar-Design
Installs (last 365 days)
29,412 · #437 in Homebrew
Homepage
www.php.net
Install
brew install php@8.2

Try asking

“Install php@8.2 with Homebrew and show me its version”
“Read php@8.2 --help and give me three useful examples for my files”
“Update php@8.2 and tell me what changed”

Depends on

apr · apr-util · argon2 · aspell · autoconf · curl · freetds · gd · gmp · icu4c@79 · krb5 · libpq · libsodium · libzip · oniguruma · openldap · openssl@4 · pcre2 · sqlite · tidy-html5 · unixodbc · gettext

Questions

Can ChatGPT run php@8.2 on my computer?
Yes. With BCD on your Mac or Linux computer and command permission turned on for it, ChatGPT runs php@8.2 there and reads the output. Claude and other apps with MCP connectors can too.

Do I need to install php@8.2 first?
No. If Homebrew is installed, the AI can run brew install php@8.2 for you.

Is it safe?
A new computer starts read-only: running commands is turned on per computer, and BCD reaches only the folders you allow.

Try it on your computer

BCD connects ChatGPT, Claude and other AI apps to your own Mac, Windows or Linux computer. One computer is free, with 20,000 tool calls a month and no card.

Program data from Homebrew, updated 2026-11-11. Installs are Homebrew's installs on request over the last 365 days.