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,436,921

Downloads of v 3.1.426:

94,806

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,436,921

Downloads of v 3.1.426:

94,806

Software Author(s):

  • Microsoft

.NET Core SDK 3.1.426

  • 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 16507 Tuesday, November 8, 2022 Approved
.NET Core SDK 3.1.424 13698 Wednesday, October 12, 2022 Approved
.NET Core SDK 3.1.423 12026 Wednesday, September 14, 2022 Approved
.NET Core SDK 3.1.422 13229 Tuesday, August 9, 2022 Approved
.NET Core SDK 3.1.421 11331 Tuesday, July 12, 2022 Approved
.NET Core SDK 3.1.420 11590 Wednesday, June 15, 2022 Approved
.NET Core SDK 3.1.419 13524 Wednesday, May 11, 2022 Approved
.NET Core SDK 3.1.418 10302 Tuesday, April 12, 2022 Approved
.NET Core SDK 3.1.417 15417 Wednesday, March 9, 2022 Approved
.NET Core SDK 3.1.416 34275 Wednesday, December 15, 2021 Approved
.NET Core SDK 3.1.415 12729 Monday, November 8, 2021 Approved
.NET Core SDK 3.1.414.20211031 4477 Sunday, October 31, 2021 Approved
.NET Core SDK 3.1.414 11626 Tuesday, October 12, 2021 Approved
.NET Core SDK 3.1.413 17625 Tuesday, September 14, 2021 Approved
.NET Core SDK 3.1.412 12413 Wednesday, August 11, 2021 Approved
.NET Core SDK 3.1.411 12417 Tuesday, July 13, 2021 Approved
.NET Core SDK 3.1.410 18491 Tuesday, June 8, 2021 Approved
.NET Core SDK 3.1.409 12358 Tuesday, May 11, 2021 Approved
.NET Core SDK 3.1.408 12691 Wednesday, April 14, 2021 Approved
.NET Core SDK 3.1.407 24095 Tuesday, March 9, 2021 Approved
.NET Core SDK 3.1.406 23105 Tuesday, February 9, 2021 Approved
.NET Core SDK 3.1.405 15175 Tuesday, January 12, 2021 Approved
.NET Core SDK 3.1.404 32783 Tuesday, November 10, 2020 Approved
.NET Core SDK 3.1.403 30981 Tuesday, October 13, 2020 Approved
.NET Core SDK 3.1.402 25314 Tuesday, September 8, 2020 Approved
.NET Core SDK 3.1.401 24364 Tuesday, August 11, 2020 Approved
.NET Core SDK 3.1.302 20367 Tuesday, July 14, 2020 Approved
.NET Core SDK 3.1.301 21634 Tuesday, June 9, 2020 Approved
.NET Core SDK 3.1.300 14452 Tuesday, May 19, 2020 Approved
.NET Core SDK 3.1.202 4379 Friday, May 15, 2020 Approved
.NET Core SDK 3.1.201 40461 Wednesday, March 25, 2020 Approved
.NET Core SDK 3.1.200 5858 Tuesday, March 17, 2020 Approved
.NET Core SDK 3.1.102 20417 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.1.101 88424 Monday, January 20, 2020 Approved
.NET Core SDK 3.1.100 320227 Tuesday, December 3, 2019 Approved
.NET Core SDK 3.1.100-preview3-014645 560 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.103 4543 Tuesday, February 18, 2020 Approved
.NET Core SDK 3.0.102 709 Friday, January 24, 2020 Approved
.NET Core SDK 3.0.101 30699 Tuesday, November 19, 2019 Approved
.NET Core SDK 3.0.100 69175 Monday, September 23, 2019 Approved
.NET Core SDK 3.0.100-rc1-014190 1228 Tuesday, September 17, 2019 Approved
.NET Core SDK 3.0.100-preview9-014004 2595 Thursday, September 5, 2019 Approved
.NET Core SDK 3.0.100-preview8-013656 3327 Wednesday, August 14, 2019 Approved
.NET Core SDK 3.0.100-preview7-012821 2102 Tuesday, July 23, 2019 Approved
.NET Core SDK 3.0.100-preview6-012264 2159 Wednesday, June 12, 2019 Approved
.NET Core SDK 3.0.100-preview5-011568 1198 Monday, May 6, 2019 Approved
.NET Core SDK 3.0.100-preview4-011223 599 Friday, April 19, 2019 Approved
.NET Core SDK 3.0.100-preview3-010431 818 Thursday, March 7, 2019 Approved
.NET Core SDK 3.0.100-preview-010184 318 Friday, March 1, 2019 Approved
.NET Core SDK 2.2.402 70821 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.2.401 141152 Thursday, July 25, 2019 Approved
.NET Core SDK 2.2.301 8415 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.2.300 18409 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.2.207 7179 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.204 4981 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.2.203 31959 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.2.202 3170 Thursday, April 4, 2019 Approved
.NET Core SDK 2.2.200-preview 542 Friday, December 7, 2018 Approved
.NET Core SDK 2.2.110 1969 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.2.107 10571 Thursday, May 30, 2019 Approved
.NET Core SDK 2.2.105 7746 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.2.104 110719 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.2.102 13995 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.2.101 5571 Wednesday, January 2, 2019 Approved
.NET Core SDK 2.2.0 16027 Tuesday, December 4, 2018 Approved
.NET Core SDK 2.2.0-preview3 336 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.818 2496 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.817 131 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.816 1037 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.815 278 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.814 178 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.813 395 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.812 223 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.811 1730 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.810 672 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.809 399 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.808 264 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.807 833 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.806 405 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.805 734 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.804 749 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.803 2361 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.802 5032 Tuesday, September 10, 2019 Approved
.NET Core SDK 2.1.801 94498 Thursday, July 25, 2019 Approved
.NET Core SDK 2.1.701 2286 Tuesday, July 9, 2019 Approved
.NET Core SDK 2.1.700 4013 Wednesday, May 22, 2019 Approved
.NET Core SDK 2.1.617 113 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.616 100 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.615 97 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.614 101 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.613 94 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.612 129 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.611 161 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.610 764 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.609 195 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.608 212 Friday, January 24, 2020 Approved
.NET Core SDK 2.1.607 411 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.604 1165 Tuesday, May 14, 2019 Approved
.NET Core SDK 2.1.603 1785 Wednesday, April 10, 2019 Approved
.NET Core SDK 2.1.602 499 Thursday, April 4, 2019 Approved
.NET Core SDK 2.1.526 2834 Friday, August 20, 2021 Approved
.NET Core SDK 2.1.525 99 Wednesday, August 11, 2021 Approved
.NET Core SDK 2.1.524 145 Tuesday, May 11, 2021 Approved
.NET Core SDK 2.1.523 168 Wednesday, April 14, 2021 Approved
.NET Core SDK 2.1.522 100 Wednesday, March 10, 2021 Approved
.NET Core SDK 2.1.521 105 Tuesday, February 9, 2021 Approved
.NET Core SDK 2.1.520 144 Tuesday, January 12, 2021 Approved
.NET Core SDK 2.1.519 153 Tuesday, October 13, 2020 Approved
.NET Core SDK 2.1.518 155 Tuesday, September 8, 2020 Approved
.NET Core SDK 2.1.517 145 Tuesday, August 11, 2020 Approved
.NET Core SDK 2.1.516 135 Tuesday, July 14, 2020 Approved
.NET Core SDK 2.1.515 189 Tuesday, June 9, 2020 Approved
.NET Core SDK 2.1.514 283 Friday, May 15, 2020 Approved
.NET Core SDK 2.1.513 478 Wednesday, March 25, 2020 Approved
.NET Core SDK 2.1.512 1835 Tuesday, February 18, 2020 Approved
.NET Core SDK 2.1.510 387 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.505 8119 Tuesday, March 12, 2019 Approved
.NET Core SDK 2.1.504 83273 Wednesday, February 13, 2019 Approved
.NET Core SDK 2.1.503 1841 Wednesday, January 9, 2019 Approved
.NET Core SDK 2.1.502 2852 Thursday, January 3, 2019 Approved
.NET Core SDK 2.1.500 6317 Tuesday, November 20, 2018 Approved
.NET Core SDK 2.1.403 16658 Tuesday, October 2, 2018 Approved
.NET Core SDK 2.1.402 6185 Tuesday, September 11, 2018 Approved
.NET Core SDK 2.1.401 14276 Tuesday, August 21, 2018 Approved
.NET Core SDK 2.1.400 4745 Wednesday, August 15, 2018 Approved
.NET Core SDK 2.1.302 90402 Tuesday, July 10, 2018 Approved
.NET Core SDK 2.1.301 5938 Friday, June 22, 2018 Approved
.NET Core SDK 2.1.300 59120 Wednesday, May 30, 2018 Approved
.NET Core SDK 2.1.300-rc1-008673 450 Wednesday, May 23, 2018 Approved
.NET Core SDK 2.1.300-preview1-008174 751 Tuesday, February 27, 2018 Approved
.NET Core SDK 2.1.202 1590 Tuesday, December 17, 2019 Approved
.NET Core SDK 2.1.200 26361 Tuesday, May 8, 2018 Approved
.NET Core SDK 2.1.105 25959 Wednesday, April 18, 2018 Approved
.NET Core SDK 2.1.104 9245 Wednesday, April 4, 2018 Approved
.NET Core SDK 2.1.103 1949 Tuesday, March 27, 2018 Approved
.NET Core SDK 2.1.102 2546 Wednesday, March 21, 2018 Approved
.NET Core SDK 2.1.101 2025 Friday, March 16, 2018 Approved
.NET Core SDK 2.1.4 41664 Friday, January 12, 2018 Approved
.NET Core SDK 2.1.3 8266 Friday, December 15, 2017 Approved
.NET Core SDK 2.0.3 40472 Thursday, November 16, 2017 Approved
.NET Core SDK 2.0.2 90051 Wednesday, October 25, 2017 Approved
.NET Core SDK 2.0.0.20170906 22285 Wednesday, September 6, 2017 Approved
.NET Core SDK 2.0.0 32968 Tuesday, August 15, 2017 Approved
.NET Core SDK 1.1.14 6423 Tuesday, May 14, 2019 Approved
.NET Core SDK 1.1.13 321 Tuesday, March 12, 2019 Approved
.NET Core SDK 1.1.12 255 Wednesday, February 13, 2019 Approved
.NET Core SDK 1.1.8 4328 Sunday, March 18, 2018 Approved
.NET Core SDK 1.0.4 1.1.2 22195 Friday, June 30, 2017 Approved
.NET Core SDK 1.0.3 with .NET Core 1.0.4 & 1.1.1 1.1.1.20170508 6064 Monday, May 8, 2017 Approved
.NET Core 1.1.1 SDK - Installer 1.1.1 4315 Thursday, March 9, 2017 Approved
.NET Core 1.1 SDK - Installer 1.1 2195 Friday, December 30, 2016 Approved
.NET Core 1.0.3 SDK - Installer 1.0.3 2961 Friday, December 30, 2016 Approved
.NET Core SDK+CLI (Install) 1.0.0-RC2 1275 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