Installing .NET SDK on Windows, macOS and Linux
Apr 28, 2024 1:13:57 AM
What is .NET SDK?
.NET SDK is a Software Development Kit for building applications on the .NET platform. It includes essential tools, libraries, and a runtime environment for creating .NET applications. It is a requirement for those who want to build applications and smart-contracts using C#.
Steps to Install .NET SDK
To install .NET SDK, you’ll need to have a package manager installed. If you haven’t installed it yet, refer to the Installing a Package Manager on Windows and macOS article.
- Open Terminal or Command Prompt.
- Use the following command to install the .NET SDK:
- Follow the on-screen instructions to complete the installation.
- Once installation is complete, close and reopen the terminal to refresh the environment variables.
Verify the Installation
To verify the installation, run the following command:
Issue: dotnet not recognized
If dotnet
is not recognized as a command after installation, try closing and reopening your Terminal session. This will refresh the environment variables and should allow the dotnet
command to be recognized.