About Ruby 4.0 with MSYS2
The RubyInstaller project provides a self-contained Windows-based installer that includes a Ruby-language execution environment and a baseline set of required RubyGems and extensions, integrated with a MSYS2 installation.
A Ruby language execution environment with a MSYS2 installation.
The RubyInstaller project provides a self-contained Windows-based installer that includes a Ruby-language execution environment and a baseline set of required RubyGems and extensions, integrated with a MSYS2 installation.
Changed
| Publisher | RubyInstaller Team |
|---|---|
| Version | 4.0.7-1 |
| Release date | 2026-09-15 |
| License | BSD-3-Clause |
| Installer type | inno |
| Architecture | x64, arm64 |
| Package ID | RubyInstallerTeam.RubyWithDevKit.4.0 |
| Install scope | Current user |
winget install --id=RubyInstallerTeam.RubyWithDevKit.4.0 -ewinget upgrade --id=RubyInstallerTeam.RubyWithDevKit.4.0 -ewinget uninstall --id=RubyInstallerTeam.RubyWithDevKit.4.0 -e"rubyinstaller-devkit-4.0.7-1-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSERRuby 4.0 with MSYS2 adds these commands to the command line: ruby, rubyw.
Changed
Changed
Changed
Yes. Ruby 4.0 with MSYS2 is free and open-source software released under the BSD-3-Clause license.
The latest version is 4.0.7-1, released on Sep 15, 2026.
The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 4eb2fb0c8e7ece557c82ce7cb0411bf53df439831b2a942227606173e32dadfc.
Ruby 4.0 with MSYS2 runs on Windows and is available for 64-bit (x64), ARM64 systems.
Run the offline installer with "rubyinstaller-devkit-4.0.7-1-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSER, or install it with Windows Package Manager: winget install --id=RubyInstallerTeam.RubyWithDevKit.4.0 -e --silent.
Open Settings › Apps › Installed apps, find Ruby 4.0 with MSYS2 and select Uninstall. From the command line, run winget uninstall --id=RubyInstallerTeam.RubyWithDevKit.4.0 -e.