About Ruby 4.0
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.
The Ruby language execution environment
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.
Changed
| Publisher | RubyInstaller Team |
|---|---|
| Version | 4.0.9-1 |
| Release date | 2026-10-23 |
| License | BSD-3-Clause |
| Installer type | inno |
| Architecture | x64, arm64 |
| Package ID | RubyInstallerTeam.Ruby.4.0 |
| Install scope | Current user |
winget install --id=RubyInstallerTeam.Ruby.4.0 -ewinget upgrade --id=RubyInstallerTeam.Ruby.4.0 -ewinget uninstall --id=RubyInstallerTeam.Ruby.4.0 -e"rubyinstaller-4.0.9-1-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSERRuby 4.0 adds these commands to the command line: ruby, rubyw.
Changed
- Remove eMudhra's "emSign ECC Root CA - G3" from the SSL CA certificate list. #491
8 of their intermediate certificates were compromized.
- Change installer name and version strings to match the expectation of the Microsoft Store.
Changed
Changed
Yes. Ruby 4.0 is free and open-source software released under the BSD-3-Clause license.
The latest version is 4.0.9-1, released on Oct 23, 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 7e079519349b06c445d6993542ae0b6e186ce1d9f3a24029e4aab004dba3bee2.
Ruby 4.0 runs on Windows and is available for 64-bit (x64), ARM64 systems.
Run the offline installer with "rubyinstaller-4.0.9-1-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSER, or install it with Windows Package Manager: winget install --id=RubyInstallerTeam.Ruby.4.0 -e --silent.
Open Settings › Apps › Installed apps, find Ruby 4.0 and select Uninstall. From the command line, run winget uninstall --id=RubyInstallerTeam.Ruby.4.0 -e.