Downloads of v


Last Update:

11 Jul 2022

Package Maintainer(s):

Software Author(s):

  • Spotify


spotify music player radio admin freeware cross-platform


This is not the latest version of Spotify available.

  • 1
  • 2
  • 3 | Updated: 11 Jul 2022



Downloads of v



Software Author(s):

  • Spotify

  • 1
  • 2
  • 3

This is not the latest version of Spotify available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Spotify, run the following command from the command line or from PowerShell:


To upgrade Spotify, run the following command from the command line or from PowerShell:


To uninstall Spotify, run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade spotify -y --source="'INTERNAL REPO URL'" --version="''" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade spotify -y --source="'INTERNAL REPO URL'" --version="''" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install spotify
    name: spotify
    version: ''
    state: present

See docs at

chocolatey_package 'spotify' do
  action    :install
  source   'INTERNAL REPO URL'
  version  ''

See docs at

cChocoPackageInstaller spotify
    Name     = "spotify"
    Version  = ""
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'spotify':
  ensure   => '',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 11 Jul 2022.


Spotify is a digital music service that gives you access to millions of songs.


  • Music
    There are millions of songs on Spotify. Play your favorites, discover new tracks, and build the perfect collection.
  • Playlists
    You'll find readymade playlists to match your mood, put together by music fans and experts.
  • New Releases
    Hear this week's latest singles and albums, and check out what's hot in the Top 50.
  • Search
    Know what you want to listen to? Just search and hit play.
  • Browse
    Check out the latest charts, brand new releases and great playlists for right now.
  • Discover
    Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.

$downloadDir = Get-PackageCacheLocation
$installer          = 'SpotifyFullSetup.exe'
$arguments          = @{
    packageName     = $env:ChocolateyPackageName
    softwareName    = 'Spotify'
    file            = Join-Path $downloadDir $installer
    url             = ''
    checksum        = 'B3FE074CC341191CC37226EEC6F1E38693FE1D510630B50320384CC4714AC2E3C4B1B3AFC7C8DDAE28C1F7E73009BFFEA4C33EE5A83A3ABFD0BAB3DF8178CB16'
    fileType        = 'exe'
    checksumType    = 'sha512'
    silentArgs      = '/silent'
    validExitCodes  = @(0, 1641, 3010)

# Download the installer
$arguments['file'] = Get-ChocolateyWebFile @arguments

# It doesn't matter what time we choose, we need to start it manually
schtasks.exe /Create /SC Once /st (Get-Date -Format 'HH:mm') /TN $arguments['packageName'] /TR "'$($arguments['file'])' $($arguments['silentArgs'])" /F 2>$null
schtasks.exe /Run /TN $arguments['packageName']
Start-Sleep -s 1
schtasks.exe /Delete /TN $arguments['packageName'] /F

# Wait for Spotify to start, then kill it
$done = $false
do {
  if (Get-Process Spotify -ErrorAction SilentlyContinue) {
    Stop-Process -name Spotify
    $done = $true

  Start-Sleep -s 10
} until ($done)
$ErrorActionPreference = 'Stop';

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Spotify'
  fileType      = 'exe'
  silentArgs    = '/uninstall /silent'
  validExitCodes= @(@(0))

$uninstalled = $false

[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
  $key | ForEach-Object {
    $packageArgs['file'] = "$($_.UninstallString -split ' ' | select -first 1)"

    Uninstall-ChocolateyPackage @packageArgs
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstall."
  Write-Warning "Please alert the package maintainer the following keys were matched:"
  $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Spotify 6862 Friday, September 16, 2022 Approved
Spotify 11440 Friday, September 2, 2022 Approved
Spotify 20340 Thursday, August 25, 2022 Approved
Spotify 49711 Thursday, August 4, 2022 Approved
Spotify 33250 Friday, July 22, 2022 Approved
Spotify 29644 Monday, July 11, 2022 Approved
Spotify 40007 Thursday, June 23, 2022 Approved
Spotify 50933 Thursday, June 9, 2022 Approved
Spotify 41460 Friday, May 27, 2022 Approved

Updated to work with the latest requirment for user not to be admin when installing.

Discussion for the Spotify Package

Ground Rules:

  • This discussion is only about Spotify and the Spotify package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Spotify, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus