Back to: ASP.NET Core Tutorials For Beginners and Professionals
How to Download and Install .NET Core SDK
In this article, I am going to discuss How to Download and Install .NET Core SDK on Windows Operating System. Please read our previous article, where we discussed How to Download and Install Visual Studio 2022 on Windows Operating. .NET Core SDK is required for developing and running .NET Core Applications.
How to Download .NET Core SDK?
To download .NET 6 SDK, go to the following website, and you will find the link to download .NET 6 SDK for different OS.
https://dotnet.microsoft.com/en-us/download/dotnet/6.0
Once you visit the above page, it looks as shown below. Select the appropriate link to download .NET 6 SDK for the respective OS. After downloading the installer, click on it to start the installation.
If you are using Windows Operating System, please visit the below website.
https://dotnet.microsoft.com/download
You will find the following webpage once you go to the above website. As per your operating system, choose the appropriate .NET SDK. The latest version as of this writing is .NET 7.0, and .NET 6 provides Long-Term Support which is the recommended one, as shown in the below image. In this course, we will use .NET 6, and at the end of this course, I will discuss the new features introduced with .NET 7 with Real-Time Examples.
As we are here to develop, build, run, and deploy .NET Core Applications, we need to click on the Download .NET SDK x64 link. Once you click on the Download .NET SDK x64 button, it will download the .NET SDK and navigate to the below page, which shows how to Run the Installer, Verify the Installation, and get started as shown below.
Installing .NET Core SDK:
Once you download the .NET SDK, install it by double-clicking on the exe. Once you click on the EXE, it will open the following window, and here, simply click on the Install button as shown in the below image.
If everything is fine, once the installation is completed, you will get the following message saying the installation was successful. Simply click on the Close button as shown in the below image.
Note: If you installed .NET SDK on your machine, then there is no need to install .NET Runtime separately, as .NET SDK automatically installs the .NET Runtime. The .NET Runtime is a part of the .NET SDK. Another point that you need to keep in mind is that once you install .NET SDK, then automatically ASP.NET Core gets installed.
Verify Installation of .NET Core SDK.
Once you installed .NET SDK, open the command prompt, type dotnet, and press the enter key as shown in the image below. If the installation succeeded, then you should get the following output.
To verify what versions are installed on your machine, type the dotnet –info command in the command prompt and press the enter button as shown in the image below.
As you can see in the above image, 5 .NET SDK versions are installed on my machine. Along the way, it also displays the OS Name, Version, Platform, etc. Further, if you notice, it also installed .NET Runtimes. Please make sure .NET 6 is installed on your machine, as we are going to develop the applications using .NET 6.
Note: The .NET SDK will give a complete environment to develop, build, test, and deploy the ASP.NET Core Web API Applications.
In the next article, I am going to discuss How to Download and Install Visual Studio Code on Windows Operating System. Here, in this article, I try to explain How to Download and Install .NET Core SDK on Windows Operating System. I hope you enjoy this Download and Install .NET Core SDK article.