Popular: Data updated October 27, 2026

Categories

Internet1,356
Communication321
Audio & video898
Graphics & design539
Office & productivity1,124
Developer tools3,134
AI tools529
Security & privacy385
System tools3,114
Games523
Education & science239
Network & IT284

MySQL Shell silent install & uninstall

MySQL Shell is an advanced client and code editor for MySQL.

Commands for installing MySQL Shell without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.

Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell

With winget

PowerShell
winget install --id Oracle.MySQLShell -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Oracle.MySQLShell -e --silent
winget uninstall --id Oracle.MySQLShell -e --silent

By installer

64-bit · MSI · en-US

Silent installmsiexec /i mysql-shell-8.4.5-windows-x86-64bit.msi /qn /norestart
Write a logmsiexec /i mysql-shell-8.4.5-windows-x86-64bit.msi /qn /norestart /l*v "%TEMP%\mysql-shell-install.log"
Uninstallmsiexec /x {639A456B-24A8-4968-BEF7-26559D5E515F} /qn /norestart
MSI product code
{639A456B-24A8-4968-BEF7-26559D5E515F}
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{639A456B-24A8-4968-BEF7-26559D5E515F}

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-mysql-shell.ps1
$url = 'https://cdn.mysql.com//Downloads/MySQL-Shell/mysql-shell-8.4.5-windows-x86-64bit.msi'
$sha256 = '43259DF260D1B4CBADCBB8BEC91BF991CF5A28787B83C0B99E758EFDBAD86285'
$file = Join-Path $env:TEMP 'mysql-shell-8.4.5-windows-x86-64bit.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

More from Oracle and/or its affiliates

See all
  • Oracle VirtualBoxVirtualBox is a general-purpose full virtualization software for x86_64 hardware (with version 7.1 additionally for macOS/Arm), targeted at laptop, desktop, server and embedded use.

Share