Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

3,798,819

Downloads of v 21.0.1:

199

Last Update:

02 Jun 2025

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

sql server management studio ssms admin

SQL Server Management Studio

  • 1
  • 2
  • 3

21.0.1 | Updated: 02 Jun 2025

Downloads:

3,798,819

Downloads of v 21.0.1:

199

Maintainer(s):

Software Author(s):

  • Microsoft

SQL Server Management Studio 21.0.1

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Microsoft. The inclusion of Microsoft trademark(s), if any, upon this webpage is solely to identify Microsoft goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Exempted due to necessary KB update not being available.

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install SQL Server Management Studio, run the following command from the command line or from PowerShell:

>

To upgrade SQL Server Management Studio, run the following command from the command line or from PowerShell:

>

To uninstall SQL Server Management Studio, 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 https://community.chocolatey.org/api/v2/)


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 https://community.chocolatey.org/api/v2/. 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 sql-server-management-studio -y --source="'INTERNAL REPO URL'" [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 sql-server-management-studio -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install sql-server-management-studio
  win_chocolatey:
    name: sql-server-management-studio
    version: '21.0.1'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'sql-server-management-studio' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '21.0.1'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller sql-server-management-studio
{
    Name     = "sql-server-management-studio"
    Version  = "21.0.1"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'sql-server-management-studio':
  ensure   => '21.0.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 02 Jun 2025.

Description

SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure. Use SSMS to access, configure, manage, administer, and develop all components of SQL Server, Azure SQL Database, Azure SQL Managed Instance, SQL Server on Azure VM, and Azure Synapse Analytics. SSMS provides a single comprehensive utility that combines a broad group of graphical tools with many rich script editors to provide access to SQL Server for developers and database administrators of all skill levels.

Supported SQL offerings

  • You can use it to manage all supported SQL Server versions, such as SQL Server 2022, SQL Server 2019, and earlier versions.
  • SSMS 21 includes enhanced integration for managing Azure SQL Database and Azure SQL Managed Instance environments.

SSMS System Requirements

SQL Server Management Studio 21 is supported on the following 64-bit operating systems:

Supported Operating Systems:

  • Windows 11 minimum supported OS version or higher: Home, Pro, Pro Education, Pro for Workstations, Enterprise, and Education
  • Windows 10 minimum supported OS version or higher: Home, Professional, Education, and Enterprise.
  • Windows Server 2022: Standard and Datacenter.
  • Windows Server 2019: Standard and Datacenter.
  • Windows Server 2016: Standard and Datacenter.

Package Specific

Major versions of SSMS install side by side. If you upgrade this package from an earlier major version (eg. 18.x, 19.x, 20.x), that version will remain installed.

As of version 21, SSMS now uses the standard Visual Studio installer to install and update SSMS.

Package Parameters

The default installation installs the SMSS core tools. You can use package parameters to install additional workloads:

  • Microsoft.SqlServer.Workload.SSMS.AI
  • Microsoft.SqlServer.Workload.SSMS.BI
  • Microsoft.SqlServer.Workload.SSMS.HybridAndMigration
  • Microsoft.SqlServer.Workload.SSMS.CodeTools

Example (install all workloads):
choco install sql-server-management-studio --params "'--all'"

Package Updates

This package is automatically updated based on the same data source that SSMS itself uses to determine when updates are available. This may mean that there may sometimes be a delay between Microsoft releasing a new version and when they 'advertise' it as being generally available for SSMS to update.


tools\.skipAutoUninstall
 
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

Install-VisualStudio `
    -PackageName 'sql-server-management-studio' `
    -ApplicationName 'SQL Server Management Studio' `
    -Url 'https://download.visualstudio.microsoft.com/download/pr/8d215e6a-7f65-4949-bc09-e1befa5b6497/e16b5eda7e6eecad858faa89cabb3fd5f6b108b70f2fa18eb38fbbe3d679dd3d/vs_SSMS.exe' <# https://aka.ms/ssms/21/release/vs_SSMS.exe #> `
    -Checksum 'E16B5EDA7E6EECAD858FAA89CABB3FD5F6B108B70F2FA18EB38FBBE3D679DD3D' `
    -ChecksumType 'SHA256' `
    -InstallerTechnology 'WillowVS2017OrLater' `
    -DefaultParameterValues @{
      channelId = 'SSMS.21.SSMS.Release'
      channelUri = 'https://aka.ms/ssms/21/release/channel'
    }
tools\chocolateyUninstall.ps1
Remove-VisualStudioProduct `
    -PackageName 'sql-server-management-studio' `
    -Product 'Ssms' `
    -VisualStudioYear '2022' `
    -Preview $false `
    -DefaultParameterValues @{
      channelId = 'SSMS.21.SSMS.Release'
      channelUri = 'https://aka.ms/ssms/21/release/channel'
    }

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
SQL Server Management Studio 21.0.1-pre 250 Monday, May 26, 2025 Approved
SQL Server Management Studio 20.2.1 20.2.37 205117 Tuesday, April 15, 2025 Approved
SQL Server Management Studio 20.2 20.2.30 501813 Friday, July 12, 2024 Approved
SQL Server Management Studio 20.1 20.1.10 110280 Friday, April 12, 2024 Approved
SQL Server Management Studio 20.0 20.0.70 29809 Friday, March 22, 2024 Approved
SQL Server Management Studio 19.3 19.3.4 84761 Friday, January 12, 2024 Approved
SQL Server Management Studio 19.2 19.2.56.2 69228 Thursday, November 16, 2023 Approved
SQL Server Management Studio 19.1 19.1.56 136037 Thursday, June 15, 2023 Approved
SQL Server Management Studio 19.0.2 19.0.20209.0 102728 Thursday, March 23, 2023 Approved
SQL Server Management Studio 19.0.1 19.0.20200.0 81045 Saturday, February 4, 2023 Approved
SQL Server Management Studio 18.12.1 15.0.18424.0 315847 Friday, June 24, 2022 Exempted
SQL Server Management Studio 18.11.1 15.0.18410.0 138033 Tuesday, March 15, 2022 Exempted
SQL Server Management Studio 18.10 15.0.18390.0 228098 Wednesday, October 13, 2021 Exempted
SQL Server Management Studio 18.9.2 15.0.18386.0 126745 Wednesday, July 21, 2021 Approved
SQL Server Management Studio 18.9.1 15.0.18384.0 142645 Friday, April 23, 2021 Approved
SQL Server Management Studio 18.8 15.0.18369.0 154928 Tuesday, December 22, 2020 Approved
SQL Server Management Studio 18.7.1 15.0.18358.0 82417 Friday, October 30, 2020 Approved
SQL Server Management Studio 18.6 15.0.18338.0 106680 Friday, July 24, 2020 Approved
SQL Server Management Studio 18.5.1 15.0.18333.0 47165 Wednesday, June 17, 2020 Approved
SQL Server Management Studio 18.5 15.0.18330.0 85188 Friday, April 10, 2020 Approved
SQL Server Management Studio 18.4 15.0.18206.0 110818 Tuesday, November 19, 2019 Approved
SQL Server Management Studio 18.3.1 15.0.18183.0 35896 Thursday, October 3, 2019 Approved
SQL Server Management Studio 18.2 15.0.18142.0 317 Thursday, October 3, 2019 Approved
SQL Server Management Studio 18.1 15.0.18131.0 99319 Friday, June 14, 2019 Approved
SQL Server Management Studio 18.0 15.0.18118.0 84925 Monday, April 29, 2019 Approved
SQL Server Management Studio 17.9.1 14.0.17289.1 349973 Wednesday, November 28, 2018 Approved
SQL Server Management Studio 17.9 14.0.17285.0 82197 Thursday, September 13, 2018 Approved
SQL Server Management Studio 17.8.1 14.0.17277.0 54572 Tuesday, July 10, 2018 Approved
SQL Server Management Studio 17.7 14.0.17254.0 48184 Friday, May 11, 2018 Approved
SQL Server Management Studio 17.6 14.0.17230.0 11707 Friday, March 30, 2018 Approved
SQL Server Management Studio 17.5 14.0.17224.0 28114 Friday, February 16, 2018 Approved
SQL Server Management Studio 17.4 14.0.17213.0 30704 Friday, December 8, 2017 Approved
SQL Server Management Studio 17.3 14.0.17199.0 24278 Thursday, October 12, 2017 Approved
SQL Server Management Studio 14.0.17177.0 32730 Tuesday, August 8, 2017 Approved
SQL Server Management Studio 14.0.17119.0 18599 Monday, May 29, 2017 Approved
SQL Server Management Studio 14.0.17099.20170503 4089 Wednesday, May 3, 2017 Approved
SQL Server Management Studio 14.0.17099.0 1484 Friday, April 28, 2017 Approved
SQL Server Management Studio 13.0.16106.4 15153 Saturday, January 28, 2017 Approved
SQL Server Management Studio 13.0.16105.4 856 Tuesday, January 24, 2017 Approved
SQL Server Management Studio 13.0.16100.1 1803 Tuesday, December 6, 2016 Approved
SQL Server Management Studio 13.0.16000.28 2081 Thursday, October 27, 2016 Approved
SQL Server Management Studio 13.0.15900.1 1079 Friday, September 30, 2016 Approved
SQL Server Management Studio 13.0.15800.18 1071 Wednesday, September 21, 2016 Approved
SQL Server Management Studio 13.0.15700.28 1776 Tuesday, August 16, 2016 Approved
SQL Server Management Studio 13.0.15600.2 1129 Monday, July 18, 2016 Approved
SQL Server Management Studio 13.0.15500.91 629 Thursday, July 7, 2016 Approved
SQL Server Management Studio 13.0.15000.23 721 Thursday, June 2, 2016 Approved
SQL Server Management Studio 13.0.14000.36-preview 631 Saturday, April 16, 2016 Exempted
SQL Server Management Studio 13.0.13000.55-preview 607 Saturday, April 2, 2016 Exempted
SQL Server Management Studio 13.0.12500.29-preview 625 Sunday, March 20, 2016 Exempted
SQL Server Management Studio 13.0.12000.65-preview 582 Tuesday, March 8, 2016 Exempted
SQL Server Management Studio 13.0.11000.78-preview 664 Tuesday, March 1, 2016 Exempted

Discussion for the SQL Server Management Studio Package

Ground Rules:

  • This discussion is only about SQL Server Management Studio and the SQL Server Management Studio 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 SQL Server Management Studio, 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