BCD

Command-line tools › R

Run ruby from ChatGPT or Claude

Powerful, clean, object-oriented scripting language. With BCD, ChatGPT, Claude and other AI apps can install and run ruby on your own computer and read what it prints.

Works on

About ruby

Version
4.0.9
License
Ruby
Installs (last 365 days)
265,597 · #73 in Homebrew
Homepage
www.ruby-lang.org
Install
brew install ruby

Try asking

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

Depends on

libyaml · openssl@4

Used by

cocoapods · fastlane · macvim · cdxgen · tmuxinator · weechat · lolcat · asciidoctor · foreman · mdless · solargraph · ruby-lsp

Questions

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

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