irb

Interactive Ruby shell. Evaluate Ruby code read from stdin. More information: <https://docs.ruby-lang.org/en/master/IRB.html>.

Install

All systems
curl cmd.cat/irb.sh
Debian Debian
apt-get install ruby-irb
Ubuntu
apt-get install ruby-irb
Alpine
apk add ruby-irb
Arch Arch Linux
pacman -S ruby-irb
image/svg+xml Kali Linux
apt-get install ruby-irb
CentOS
yum install ruby-irb
Fedora
dnf install ruby-irb
Windows (WSL2)
sudo apt-get update sudo apt-get install ruby-irb
Raspbian
apt-get install ruby-irb
Docker
docker run cmd.cat/irb irb powered by Commando

Interactive Ruby shell. Evaluate Ruby code read from stdin. More information: <https://docs.ruby-lang.org/en/master/IRB.html>.

  • Start the interactive shell:
    irb

© tl;dr; authors and contributors