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 wingetScoop
scoop install main/rubyChocolatey
choco install ruby -yPackage 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 manager | Package | Verified version | Source |
|---|---|---|---|
| winget | RubyInstallerTeam.RubyWithDevKit.4.0 | 4.0.6-1 | Manifest |
| Scoop | main/ruby | – | Manifest |
| Chocolatey | ruby | 3.4.10.1 | Manifest |
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