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:

2,469,507

Downloads of v 3.1.421:

11,357

Last Update:

12 Jul 2022

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

dotnetcore admin dotnet .net core sdk cli

.NET Core SDK

This is not the latest version of .NET Core SDK available.

  • 1
  • 2
  • 3

3.1.421 | Updated: 12 Jul 2022

Downloads:

2,469,507

Downloads of v 3.1.421:

11,357

Software Author(s):

  • Microsoft

.NET Core SDK 3.1.421

This is not the latest version of .NET Core SDK available.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Dependencies require reboot.

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install .NET Core SDK, run the following command from the command line or from PowerShell:

>

To upgrade .NET Core SDK, run the following command from the command line or from PowerShell:

>

To uninstall .NET Core SDK, 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 dotnetcore-sdk -y --source="'INTERNAL REPO URL'" --version="'3.1.421'" [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 dotnetcore-sdk -y --source="'INTERNAL REPO URL'" --version="'3.1.421'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install dotnetcore-sdk
  win_chocolatey:
    name: dotnetcore-sdk
    version: '3.1.421'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'dotnetcore-sdk' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.1.421'
end

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


cChocoPackageInstaller dotnetcore-sdk
{
    Name     = "dotnetcore-sdk"
    Version  = "3.1.421"
    Source   = "INTERNAL REPO URL"
}

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


package { 'dotnetcore-sdk':
  ensure   => '3.1.421',
  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 12 Jul 2022.

Description

.NET Core is a blazing fast, lightweight and modular platform for creating web applications and services that run on Windows, Linux and Mac.

The SDK includes the runtime and command line tools for creating .NET Core applications.

This is a metapackage, which installs the latest release of .NET SDK across all versions (up to 3.1.x). .NET 5 and later are supported by the dotnet-* family of packages.


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
.NET Core SDK 3.1.425 16540 Tuesday, November 8, 2022 Approved
.NET Core SDK 3.1.424 13993 Wednesday, October 12, 2022 Approved
.NET Core SDK 3.1.423 12085 Wednesday, September 14, 2022 Approved
.NET Core SDK 3.1.422 13265 Tuesday, August 9, 2022 Approved
.NET Core SDK 3.1.421 11357 Tuesday, July 12, 2022 Approved
.NET Core SDK 3.1.420 11632 Wednesday, June 15, 2022 Approved
.NET Core SDK 3.1.419 13589 Wednesday, May 11, 2022 Approved
.NET Core SDK 3.1.418 10334 Tuesday, April 12, 2022 Approved
.NET Core SDK 3.1.417 15518 Wednesday, March 9, 2022 Approved
.NET Core SDK 3.1.416 34355 Wednesday, December 15, 2021 Approved
.NET Core SDK 3.1.415 12743 Monday, November 8, 2021 Approved
.NET Core SDK 3.1.414.20211031 4488 Sunday, October 31, 2021 Approved
.NET Core SDK 3.1.414 11661 Tuesday, October 12, 2021 Approved
.NET Core SDK 3.1.413 17635 Tuesday, September 14, 2021 Approved
.NET Core SDK 3.1.412 12472 Wednesday, August 11, 2021 Approved
.NET Core SDK 3.1.411 12469 Tuesday, July 13, 2021 Approved
.NET Core SDK 3.1.410 18646 Tuesday, June 8, 2021 Approved
.NET Core SDK 3.1.409 12372 Tuesday, May 11, 2021 Approved
.NET Core SDK 3.1.408 12717 Wednesday, April 14, 2021 Approved
.NET Core SDK 3.1.407 24525 Tuesday, March 9, 2021 Approved
.NET Core SDK 3.1.406 23521 Tuesday, February 9, 2021 Approved
.NET Core SDK 3.1.405 15189 Tuesday, January 12, 2021 Approved
.NET Core SDK 3.1.404 32942 Tuesday, November 10, 2020 Approved
.NET Core SDK 3.1.403 31183 Tuesday, October 13, 2020 Approved
.NET Core SDK 3.1.402 25639 Tuesday, September 8, 2020 Approved
.NET Core SDK 3.1.401 24382 Tuesday, August 11, 2020 Approved
.NET Core SDK 3.1.302 20426 Tuesday, July 14, 2020 Approved
.NET Core SDK 3.1.301 21750 Tuesday, June 9, 2020 Approved
.NET Core SDK 3.1.300 14484 Tuesday, May 19, 2020 Approved
.NET Core SDK 3.1.202 4399 Friday, May 15, 2020 Approved
.NET Core SDK 3.1.201 40659 Wednesday, March 25, 2020 Approved
.NET Core SDK 3.1.200 5888 Tuesday, March 17, 2020 Approved
.NET Core SDK 3.1.102 20440 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.1.101 88565 Monday, January 20, 2020 Approved
.NET Core SDK 3.1.100 320768 Tuesday, December 3, 2019 Approved
.NET Core SDK 3.1.100-preview3-014645 581 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.103 4577 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.0.102 762 Friday, January 24, 2020 Approved
.NET Core SDK 3.0.101 30741 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.100 69373 Monday, September 23, 2019 Approved
.NET Core SDK 3.0.100-rc1-014190 1249 Tuesday, September 17, 2019 Approved
.NET Core SDK 3.0.100-preview9-014004 2615 Thursday, September 5, 2019 Approved
.NET Core SDK 3.0.100-preview8-013656 3347 Wednesday, August 14, 2019 Approved
.NET Core SDK 3.0.100-preview7-012821 2124 Tuesday, July 23, 2019 Approved
.NET Core SDK 3.0.100-preview6-012264 2178 Wednesday, June 12, 2019 Approved
.NET Core SDK 3.0.100-preview5-011568 1218 Monday, May 6, 2019 Approved
.NET Core SDK 3.0.100-preview4-011223 621 Friday, April 19, 2019 Approved
.NET Core SDK 3.0.100-preview3-010431 833 Thursday, March 7, 2019 Approved
.NET Core SDK 3.0.100-preview-010184 336 Friday, March 1, 2019 Approved
.NET Core SDK 2.2.402 72850 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.2.401 141316 Thursday, July 25, 2019 Approved
.NET Core SDK 2.2.301 8453 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.2.300 18507 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.2.207 7540 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.204 4999 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.2.203 31992 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.2.202 3187 Thursday, April 4, 2019 Approved
.NET Core SDK 2.2.200-preview 558 Friday, December 7, 2018 Approved
.NET Core SDK 2.2.110 2003 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.107 10607 Thursday, May 30, 2019 Approved
.NET Core SDK 2.2.105 7826 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.2.104 110936 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.2.102 14029 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.2.101 5589 Wednesday, January 2, 2019 Approved
.NET Core SDK 2.2.0 16247 Tuesday, December 4, 2018 Approved
.NET Core SDK 2.2.0-preview3 353 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.818 2651 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.817 140 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.816 1114 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.815 293 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.814 188 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.813 416 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.812 237 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.811 1916 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.810 691 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.809 416 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.808 282 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.807 850 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.806 437 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.805 750 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.804 766 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.803 2380 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.802 5266 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.1.801 94525 Thursday, July 25, 2019 Approved
.NET Core SDK 2.1.701 2330 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.1.700 4031 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.1.617 127 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.616 115 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.615 112 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.614 115 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.613 108 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.612 149 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.611 175 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.610 779 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.609 209 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.608 227 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.607 446 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.604 1181 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.1.603 1805 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.1.602 517 Thursday, April 4, 2019 Approved
.NET Core SDK 2.1.526 2857 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.525 110 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.524 155 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.523 177 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.522 111 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.521 114 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.520 161 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.519 171 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.518 170 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.517 166 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.516 152 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.515 203 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.514 317 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.513 502 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.512 1854 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.510 429 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.505 8139 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.1.504 83298 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.1.503 1890 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.1.502 2905 Thursday, January 3, 2019 Approved
.NET Core SDK 2.1.500 6337 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.403 16785 Tuesday, October 2, 2018 Approved
.NET Core SDK 2.1.402 6206 Tuesday, September 11, 2018 Approved
.NET Core SDK 2.1.401 14412 Tuesday, August 21, 2018 Approved
.NET Core SDK 2.1.400 4790 Wednesday, August 15, 2018 Approved
.NET Core SDK 2.1.302 90450 Tuesday, July 10, 2018 Approved
.NET Core SDK 2.1.301 5955 Friday, June 22, 2018 Approved
.NET Core SDK 2.1.300 59224 Wednesday, May 30, 2018 Approved
.NET Core SDK 2.1.300-rc1-008673 469 Wednesday, May 23, 2018 Approved
.NET Core SDK 2.1.300-preview1-008174 771 Tuesday, February 27, 2018 Approved
.NET Core SDK 2.1.202 1638 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.200 26407 Tuesday, May 8, 2018 Approved
.NET Core SDK 2.1.105 25979 Wednesday, April 18, 2018 Approved
.NET Core SDK 2.1.104 9263 Wednesday, April 4, 2018 Approved
.NET Core SDK 2.1.103 1968 Tuesday, March 27, 2018 Approved
.NET Core SDK 2.1.102 2580 Wednesday, March 21, 2018 Approved
.NET Core SDK 2.1.101 2044 Friday, March 16, 2018 Approved
.NET Core SDK 2.1.4 41744 Friday, January 12, 2018 Approved
.NET Core SDK 2.1.3 8296 Friday, December 15, 2017 Approved
.NET Core SDK 2.0.3 40517 Thursday, November 16, 2017 Approved
.NET Core SDK 2.0.2 90095 Wednesday, October 25, 2017 Approved
.NET Core SDK 2.0.0.20170906 22305 Wednesday, September 6, 2017 Approved
.NET Core SDK 2.0.0 34175 Tuesday, August 15, 2017 Approved
.NET Core SDK 1.1.14 6603 Tuesday, May 14, 2019 Approved
.NET Core SDK 1.1.13 336 Tuesday, March 12, 2019 Approved
.NET Core SDK 1.1.12 270 Wednesday, February 13, 2019 Approved
.NET Core SDK 1.1.8 4344 Sunday, March 18, 2018 Approved
.NET Core SDK 1.0.4 1.1.2 22264 Friday, June 30, 2017 Approved
.NET Core SDK 1.0.3 with .NET Core 1.0.4 & 1.1.1 1.1.1.20170508 6116 Monday, May 8, 2017 Approved
.NET Core 1.1.1 SDK - Installer 1.1.1 4336 Thursday, March 9, 2017 Approved
.NET Core 1.1 SDK - Installer 1.1 2226 Friday, December 30, 2016 Approved
.NET Core 1.0.3 SDK - Installer 1.0.3 2983 Friday, December 30, 2016 Approved
.NET Core SDK+CLI (Install) 1.0.0-RC2 1295 Wednesday, May 25, 2016 Exempted

Discussion for the .NET Core SDK Package

Ground Rules:

  • This discussion is only about .NET Core SDK and the .NET Core SDK 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 .NET Core SDK, 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