Polecenia do instalacji programu Ruby 3.3 bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id RubyInstallerTeam.Ruby.3.3 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RubyInstallerTeam.Ruby.3.3 -e --silentwinget uninstall --id RubyInstallerTeam.Ruby.3.3 -e --silentWedług instalatora
64-bit · EXE (Inno Setup) · Bieżący użytkownik
Cicha instalacja
rubyinstaller-3.3.14-1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Własny folder
rubyinstaller-3.3.14-1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ruby-3-3"- Klucz odinstalowania w rejestrze
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RubyInstaller-3.3-x64-mingw-ucrt_is1
64-bit · EXE (Inno Setup) · Wszyscy użytkownicy
Cicha instalacja
rubyinstaller-3.3.14-1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Własny folder
rubyinstaller-3.3.14-1-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ruby-3-3"- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RubyInstaller-3.3-x64-mingw-ucrt_is1
32-bit · EXE (Inno Setup) · Bieżący użytkownik
Cicha instalacja
rubyinstaller-3.3.14-1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Własny folder
rubyinstaller-3.3.14-1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ruby-3-3"- Klucz odinstalowania w rejestrze
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\RubyInstaller-3.3-i386-mingw32_is1
32-bit · EXE (Inno Setup) · Wszyscy użytkownicy
Cicha instalacja
rubyinstaller-3.3.14-1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Własny folder
rubyinstaller-3.3.14-1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ruby-3-3"- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\RubyInstaller-3.3-i386-mingw32_is1
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-ruby-3-3.ps1
$url = 'https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.14-1/rubyinstaller-3.3.14-1-x64.exe'
$sha256 = '7554720EBD44B8454FB48881253F2909271D267D2F290CFF4789E5AA65B83133'
$file = Join-Path $env:TEMP 'rubyinstaller-3.3.14-1-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-ruby-3-3.ps1
$url = 'https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.14-1/rubyinstaller-3.3.14-1-x64.exe'
$sha256 = '7554720EBD44B8454FB48881253F2909271D267D2F290CFF4789E5AA65B83133'
$file = Join-Path $env:TEMP 'rubyinstaller-3.3.14-1-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-ruby-3-3.ps1
$url = 'https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.14-1/rubyinstaller-3.3.14-1-x86.exe'
$sha256 = '62DF6DDC781659F97D8DFBFD38D7B0E4A0A49F4A8EEED891F5F8F57757F840F2'
$file = Join-Path $env:TEMP 'rubyinstaller-3.3.14-1-x86.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-ruby-3-3.ps1
$url = 'https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.14-1/rubyinstaller-3.3.14-1-x86.exe'
$sha256 = '62DF6DDC781659F97D8DFBFD38D7B0E4A0A49F4A8EEED891F5F8F57757F840F2'
$file = Join-Path $env:TEMP 'rubyinstaller-3.3.14-1-x86.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait