Install Ruby
Windows
Use RubyInstaller:
- Download from https://rubyinstaller.org/
- Run the installer (recommend Ruby+Devkit 3.3+ or 4.0)
Or via winget:
winget install RubyInstallerTeam.RubyWithDevkit.3.3
macOS
Linux (Ubuntu)
sudo apt-get install ruby-full
Verify
$ ruby -v
ruby 3.4.8p1 (2025-...) [x86_64-linux]
$ irb
irb(main):001:0> puts "Hello, Ruby!"
Hello, Ruby!
=> nil
irb(main):002> exit
Restart terminal if PATH issues.