Notices: This section not yet converted to new layout. Download stats are rolling back out.

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



Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved as a trusted package on 1/12/2018.

.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

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

C:\> choco install dotnetcore-sdk --version 2.1.4

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

C:\> choco upgrade dotnetcore-sdk --version 2.1.4


  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $packageName= 'dotnetcore-sdk'
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = ''
    $checksum   = '57703986a5c7eea8ceee265ce206a047e85dec5c698ad570df74b68cbfed36026bf70aa454924ec94be4d37ff492c76716beb23e12ed98816e5cb8e25eeeff0b'
    $url64      = ''
    $checksum64 = '10309b343be6dc51b04d09ed97035ddaabe250685e1799fec8a0d3f7f34ea77dddc1d742544320c21bacfa4a2c27678d262540ecf2cd69dad354a8ad207f388d'
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $toolsDir
      fileType      = 'EXE'
      url           = $url
      url64bit      = $url64
      silentArgs    = "/install /quiet /norestart /log `"$env:TEMP\$($packageName)\$($packageName).MsiInstall.log`""
      validExitCodes= @(0, 3010, 1641)
      softwareName  = 'dotnet-core*'
      checksum      = $checksum
      checksumType  = 'SHA512'
      checksum64    = $checksum64
    Install-ChocolateyPackage @packageArgs
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $packageName= 'dotnetcore-sdk'
    $silentArgs = "/uninstall /quiet /norestart"
    $url        = ''
    $url64bit   = ''
    $fileType   = "exe"
    # Resolving the download location in the same way as Install-ChocolateyPackage: 
    $chocTempDir = $env:TEMP
    $tempDir = Join-Path $chocTempDir "$packageName"
    if ($env:packageVersion -ne $null) {$tempDir = Join-Path $tempDir "$env:packageVersion"; }
    if (![System.IO.Directory]::Exists($tempDir)) { [System.IO.Directory]::CreateDirectory($tempDir) | Out-Null }
    $file = Join-Path $tempDir "$($packageName)Install.$fileType"
    $filePath = Get-ChocolateyWebFile $packageName $file $url $url64bit -checksum $checksum -checksumType $checksumType -checksum64 $checksum64 -checksumType64 $checksumType64 -options $options -getOriginalFileName
    # Supporting chocolatey 0.9.9.x where the original/full path was not returned by Get-ChocolateyWebFile
    if ($filePath -eq $null) { $filePath = $file }
    Uninstall-ChocolateyPackage $packageName "EXE" $silentArgs $filePath -validExitCodes @(0, 3010)

Virus Scan Results

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.


Package Maintainer(s)

Software Author(s)

  • Microsoft


.NET Foundation


Release Notes

Version History

Version Downloads Last updated Status
.NET Core SDK 2.2.200-preview 51 Friday, December 7, 2018 approved
.NET Core SDK 2.2.0-preview3 69 Tuesday, November 20, 2018 approved
.NET Core SDK 2.1.500 3087 Tuesday, November 20, 2018 approved
.NET Core SDK 2.1.403 9716 Tuesday, October 2, 2018 approved
.NET Core SDK 2.1.402 2362 Tuesday, September 11, 2018 approved
.NET Core SDK 2.1.401 9482 Tuesday, August 21, 2018 approved
.NET Core SDK 2.1.400 4166 Wednesday, August 15, 2018 approved
.NET Core SDK 2.1.302 37874 Tuesday, July 10, 2018 approved
Show More

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 uses cookies to enhance the user experience of the site.