net-core
  1. net-core-install-sdk

Install SDK - (.NET Core Tutorial)

Introduction

.NET Core is a free, open-source, modular and cross-platform set of runtime and compiler libraries for creating web applications, microservices, libraries, console applications, and more. .NET Core has a large collection of pre-built APIs, code libraries and tools used in developing, deploying and maintaining applications.

Before you start developing .NET Core applications, you will need to install the .NET Core SDK. This page explains how to install the .NET Core SDK on different operating systems.

Syntax

To install .NET Core SDK on different operating systems use the following syntax:

Windows

  1. Go to the .NET Core website and select the version of the SDK that you would like to download.
  2. Click on the Download .NET Core button.
  3. After the download is complete, double-click the downloaded file and select the appropriate installation options.

macOS

  1. Go to the .NET Core website and select the version of the SDK that you would like to download.
  2. Click on the Download .NET Core button.
  3. After the download is complete, open the downloaded file.
  4. Follow the on-screen instructions to install the SDK.

Linux

The installation process varies depending on the distribution of Linux that you are using. Visit the .NET Core website to see instructions for your particular distribution.

Example

Installing the .NET Core SDK on Windows

  1. Go to the .NET Core website and choose the .NET Core SDK version that you want to install.

  2. Click the radio button next to the download link for the version you want.

  3. Click the Download .NET Core SDK button.

  4. Once the download is complete, find the downloaded file and double-click it.

  5. Follow the installation wizard to complete the installation.

Installing the .NET Core SDK on macOS

  1. Go to the .NET Core website and choose the .NET Core SDK version that you want to install.

  2. Click the radio button next to the download link for the version you want.

  3. Click the Download .NET Core SDK button.

  4. Once the download is complete, open the downloaded file.

  5. Follow the on-screen instructions to install the SDK.

Installing the .NET Core SDK on Linux

The installation process varies depending on the Linux distribution you are using. You can find specific instructions for your distribution on the .NET Core website.

Output

After a successful installation, you can verify the installation by opening a command prompt and typing the following command:

dotnet --version

This should display the current version of the installed .NET Core SDK.

Explanation

The .NET Core SDK is required to create, build, and publish .NET Core applications. Installing the SDK on your system allows you to work with and develop .NET applications.

Use

The Installation of the .NET Core SDK is the foundation to build and develop .NET Core applications. You will have access to a variety of tools, including the .NET Core CLI, Visual Studio Code with C# extension, and the .NET Core runtime that are necessary for developing .NET Core applications.

Important Points

  • .NET Core is a free, open-source, and flexible platform for building different types of software applications.
  • You must install the .NET Core SDK to create and run .NET Core applications.
  • Instructions for installing the SDK vary by operating system.

Summary

This page discussed how to install the .NET Core SDK on different operating systems. It covered the syntax, example, output, explanation, use, and important points. By installing the .NET Core SDK on your machine, you can then start developing and building .NET Core applications.

Published on: