Install Ruby on Windows

Ruby programming language with MSYS2 DevKit for native gems.

Install commands

Open PowerShell or Windows Terminal and run one of these commands to install Ruby.

winget
winget install --id RubyInstallerTeam.RubyWithDevKit.4.0 --exact --source winget
Scoop
scoop install main/ruby
Chocolatey
choco install ruby -y

Package details

Category
Languages & SDKs
winget
RubyInstallerTeam.RubyWithDevKit.4.0
Scoop
main/ruby
Chocolatey
ruby

Package sources

The script installs exactly these packages. Versions are the latest ones recorded by the automated catalog check on 2026-09-14; they are used when version pinning is enabled.

Package managerPackageVerified versionSource
wingetRubyInstallerTeam.RubyWithDevKit.4.04.0.6-1Manifest
Scoopmain/ruby–Manifest
Chocolateyruby3.4.10.1Manifest

Install Ruby together with other apps

Add this app to a WinMate selection to install it together with the rest in one script and with a single administrator prompt.

Add to my install script

More Languages & SDKs