core

.NET 6 installation instructions

Concise install instructions are provided in this document and may be augmented in release notes for a given update. Complete .NET installation instructions for Windows, macOS, and Linux are provided for supported releases in .NET documentation.

Operating system specific instructions:

Install .NET Multi-platform App UI Workloads:

Distributions

The following distributions are available for all operating systems:

We recommend that you install the .NET SDK to develop and build applications, and to install one of the runtimes packages (like ASP.NET Core) to (exclusively) run applications.

Downloads

Download links are provided for each of the distributions at:

Container images are provided for Windows (Nano Server, and Server Core) and Linux (Alpine, Debian, and Ubuntu).

What’s installed?

You can determine what is installed on your machine (assuming .NET is installed) using the following approach, with dotnet --info.

C:\>dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.100-preview.7.21379.14
 Commit:    1a9103db2d

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17763
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\6.0.100-preview.7.21379.14\

Host (useful for support):
  Version: 6.0.100-preview.7.21379.14
  Commit:  3eaf1f316b

.NET SDKs installed:
  6.0.100-preview.7.21379.14 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.100-preview.7.21379.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.0-preview.7.21377.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.0-preview.7.21378.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

If you have the .NET SDK installed, you can also use dotnet --version as demonstrated in the following example:

C:\>dotnet --version
6.0.100-preview.7.21379.14