Commands for installing Spotify 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 Spotify.Spotify -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Spotify.Spotify -e --silentwinget uninstall --id Spotify.Spotify -e --silentBy installer
64-bit · EXE · Current user
Silent install
SpotifyFullSetupX64.exe /silent /skip-app-launch- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Spotify
ARM64 · EXE · Current user
Silent install
SpotifyFullSetupARM64.exe /silent /skip-app-launch- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Spotify
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-spotify.ps1
$url = 'https://download.scdn.co/SpotifyFullSetupX64.exe'
$sha256 = '2D3BF0D79580599A7A392FEB82ED11D8EAA938C3059F79B5819CAEA156D55368'
$file = Join-Path $env:TEMP 'SpotifyFullSetupX64.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 '/silent /skip-app-launch' -Wait install-spotify.ps1
$url = 'https://download.scdn.co/SpotifyFullSetupARM64.exe'
$sha256 = 'F30AC7F46220FFD1A2C2E1E3FDE799C0716C479BD8AAF2FB2D2084F71A3EDCFF'
$file = Join-Path $env:TEMP 'SpotifyFullSetupARM64.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 '/silent /skip-app-launch' -Wait