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,523,757

Downloads of v 3.1.426:

145,832

Last Update:

14 Dec 2022

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

dotnetcore admin dotnet .net core sdk cli

.NET Core SDK

  • 1
  • 2
  • 3

3.1.426 | Updated: 14 Dec 2022

Downloads:

2,523,757

Downloads of v 3.1.426:

145,832

Software Author(s):

  • Microsoft

.NET Core SDK 3.1.426

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:

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'" [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'" 
$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.426'
    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.426'
end

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


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

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


package { 'dotnetcore-sdk':
  ensure   => '3.1.426',
  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 14 Dec 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 16640 Tuesday, November 8, 2022 Approved
.NET Core SDK 3.1.424 14144 Wednesday, October 12, 2022 Approved
.NET Core SDK 3.1.423 12128 Wednesday, September 14, 2022 Approved
.NET Core SDK 3.1.422 13309 Tuesday, August 9, 2022 Approved
.NET Core SDK 3.1.421 11526 Tuesday, July 12, 2022 Approved
.NET Core SDK 3.1.420 11695 Wednesday, June 15, 2022 Approved
.NET Core SDK 3.1.419 13693 Wednesday, May 11, 2022 Approved
.NET Core SDK 3.1.418 10385 Tuesday, April 12, 2022 Approved
.NET Core SDK 3.1.417 15781 Wednesday, March 9, 2022 Approved
.NET Core SDK 3.1.416 34403 Wednesday, December 15, 2021 Approved
.NET Core SDK 3.1.415 12795 Monday, November 8, 2021 Approved
.NET Core SDK 3.1.414.20211031 4521 Sunday, October 31, 2021 Approved
.NET Core SDK 3.1.414 11709 Tuesday, October 12, 2021 Approved
.NET Core SDK 3.1.413 17688 Tuesday, September 14, 2021 Approved
.NET Core SDK 3.1.412 12672 Wednesday, August 11, 2021 Approved
.NET Core SDK 3.1.411 12575 Tuesday, July 13, 2021 Approved
.NET Core SDK 3.1.410 19072 Tuesday, June 8, 2021 Approved
.NET Core SDK 3.1.409 12412 Tuesday, May 11, 2021 Approved
.NET Core SDK 3.1.408 12810 Wednesday, April 14, 2021 Approved
.NET Core SDK 3.1.407 25231 Tuesday, March 9, 2021 Approved
.NET Core SDK 3.1.406 25657 Tuesday, February 9, 2021 Approved
.NET Core SDK 3.1.405 15239 Tuesday, January 12, 2021 Approved
.NET Core SDK 3.1.404 33297 Tuesday, November 10, 2020 Approved
.NET Core SDK 3.1.403 31352 Tuesday, October 13, 2020 Approved
.NET Core SDK 3.1.402 26228 Tuesday, September 8, 2020 Approved
.NET Core SDK 3.1.401 24416 Tuesday, August 11, 2020 Approved
.NET Core SDK 3.1.302 20620 Tuesday, July 14, 2020 Approved
.NET Core SDK 3.1.301 22099 Tuesday, June 9, 2020 Approved
.NET Core SDK 3.1.300 14578 Tuesday, May 19, 2020 Approved
.NET Core SDK 3.1.202 4445 Friday, May 15, 2020 Approved
.NET Core SDK 3.1.201 41209 Wednesday, March 25, 2020 Approved
.NET Core SDK 3.1.200 5942 Tuesday, March 17, 2020 Approved
.NET Core SDK 3.1.102 20518 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.1.101 88661 Monday, January 20, 2020 Approved
.NET Core SDK 3.1.100 321591 Tuesday, December 3, 2019 Approved
.NET Core SDK 3.1.100-preview3-014645 630 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.103 4641 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.0.102 810 Friday, January 24, 2020 Approved
.NET Core SDK 3.0.101 30794 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.100 69474 Monday, September 23, 2019 Approved
.NET Core SDK 3.0.100-rc1-014190 1288 Tuesday, September 17, 2019 Approved
.NET Core SDK 3.0.100-preview9-014004 2643 Thursday, September 5, 2019 Approved
.NET Core SDK 3.0.100-preview8-013656 3384 Wednesday, August 14, 2019 Approved
.NET Core SDK 3.0.100-preview7-012821 2156 Tuesday, July 23, 2019 Approved
.NET Core SDK 3.0.100-preview6-012264 2221 Wednesday, June 12, 2019 Approved
.NET Core SDK 3.0.100-preview5-011568 1259 Monday, May 6, 2019 Approved
.NET Core SDK 3.0.100-preview4-011223 650 Friday, April 19, 2019 Approved
.NET Core SDK 3.0.100-preview3-010431 880 Thursday, March 7, 2019 Approved
.NET Core SDK 3.0.100-preview-010184 383 Friday, March 1, 2019 Approved
.NET Core SDK 2.2.402 76543 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.2.401 141456 Thursday, July 25, 2019 Approved
.NET Core SDK 2.2.301 8506 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.2.300 18700 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.2.207 8135 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.204 5054 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.2.203 32058 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.2.202 3234 Thursday, April 4, 2019 Approved
.NET Core SDK 2.2.200-preview 611 Friday, December 7, 2018 Approved
.NET Core SDK 2.2.110 2074 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.107 10696 Thursday, May 30, 2019 Approved
.NET Core SDK 2.2.105 7983 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.2.104 111320 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.2.102 14105 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.2.101 5636 Wednesday, January 2, 2019 Approved
.NET Core SDK 2.2.0 16654 Tuesday, December 4, 2018 Approved
.NET Core SDK 2.2.0-preview3 406 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.818 2998 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.817 165 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.816 1214 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.815 328 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.814 217 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.813 482 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.812 283 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.811 2037 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.810 737 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.809 453 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.808 327 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.807 888 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.806 472 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.805 800 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.804 795 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.803 2425 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.802 5537 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.1.801 94652 Thursday, July 25, 2019 Approved
.NET Core SDK 2.1.701 2385 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.1.700 4086 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.1.617 169 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.616 163 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.615 165 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.614 158 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.613 146 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.612 197 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.611 216 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.610 830 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.609 261 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.608 261 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.607 517 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.604 1228 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.1.603 1854 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.1.602 566 Thursday, April 4, 2019 Approved
.NET Core SDK 2.1.526 2899 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.525 148 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.524 193 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.523 212 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.522 156 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.521 161 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.520 206 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.519 218 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.518 195 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.517 202 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.516 204 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.515 260 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.514 366 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.513 561 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.512 1887 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.510 475 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.505 8200 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.1.504 83360 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.1.503 2003 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.1.502 2967 Thursday, January 3, 2019 Approved
.NET Core SDK 2.1.500 6393 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.403 17124 Tuesday, October 2, 2018 Approved
.NET Core SDK 2.1.402 6258 Tuesday, September 11, 2018 Approved
.NET Core SDK 2.1.401 14459 Tuesday, August 21, 2018 Approved
.NET Core SDK 2.1.400 4822 Wednesday, August 15, 2018 Approved
.NET Core SDK 2.1.302 90586 Tuesday, July 10, 2018 Approved
.NET Core SDK 2.1.301 6006 Friday, June 22, 2018 Approved
.NET Core SDK 2.1.300 59374 Wednesday, May 30, 2018 Approved
.NET Core SDK 2.1.300-rc1-008673 511 Wednesday, May 23, 2018 Approved
.NET Core SDK 2.1.300-preview1-008174 819 Tuesday, February 27, 2018 Approved
.NET Core SDK 2.1.202 2308 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.200 26508 Tuesday, May 8, 2018 Approved
.NET Core SDK 2.1.105 26031 Wednesday, April 18, 2018 Approved
.NET Core SDK 2.1.104 9314 Wednesday, April 4, 2018 Approved
.NET Core SDK 2.1.103 2005 Tuesday, March 27, 2018 Approved
.NET Core SDK 2.1.102 2671 Wednesday, March 21, 2018 Approved
.NET Core SDK 2.1.101 2089 Friday, March 16, 2018 Approved
.NET Core SDK 2.1.4 41815 Friday, January 12, 2018 Approved
.NET Core SDK 2.1.3 8344 Friday, December 15, 2017 Approved
.NET Core SDK 2.0.3 40595 Thursday, November 16, 2017 Approved
.NET Core SDK 2.0.2 90225 Wednesday, October 25, 2017 Approved
.NET Core SDK 2.0.0.20170906 22342 Wednesday, September 6, 2017 Approved
.NET Core SDK 2.0.0 36177 Tuesday, August 15, 2017 Approved
.NET Core SDK 1.1.14 6805 Tuesday, May 14, 2019 Approved
.NET Core SDK 1.1.13 396 Tuesday, March 12, 2019 Approved
.NET Core SDK 1.1.12 312 Wednesday, February 13, 2019 Approved
.NET Core SDK 1.1.8 4382 Sunday, March 18, 2018 Approved
.NET Core SDK 1.0.4 1.1.2 22330 Friday, June 30, 2017 Approved
.NET Core SDK 1.0.3 with .NET Core 1.0.4 & 1.1.1 1.1.1.20170508 6159 Monday, May 8, 2017 Approved
.NET Core 1.1.1 SDK - Installer 1.1.1 4402 Thursday, March 9, 2017 Approved
.NET Core 1.1 SDK - Installer 1.1 2296 Friday, December 30, 2016 Approved
.NET Core 1.0.3 SDK - Installer 1.0.3 3085 Friday, December 30, 2016 Approved
.NET Core SDK+CLI (Install) 1.0.0-RC2 1374 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