BCD

Command-line tools › S

Run sdl2-compat from ChatGPT or Claude

SDL2 compatibility layer that uses SDL3 behind the scenes. With BCD, ChatGPT, Claude and other AI apps can install and run sdl2-compat on your own computer and read what it prints.

Works on

About sdl2-compat

Version
2.32.74
License
Zlib
Installs (last 365 days)
31,514 · #418 in Homebrew
Homepage
github.com/libsdl-org/sdl2-compat
Install
brew install sdl2-compat

Try asking

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

Depends on

sdl3

Used by

ffmpeg · ffmpeg-full · whisper.cpp · sdl2_image · sdl2_ttf · sdl2_mixer · ffmpeg@6 · ffmpeg@4 · ffmpeg@7 · gpac · sdl12-compat · dosbox-x

Questions

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

Do I need to install sdl2-compat first?
No. If Homebrew is installed, the AI can run brew install sdl2-compat 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.