How to install .NET
.NET is a cross-platform and open source developer platform for building web, mobile, desktop, gaming, IoT, and cloud applications. To install .NET, you need to download and run the .NET installer for your operating system.
Here is a video I want to share with you:
Install on Windows
There are two types of supported releases for Windows: Long Term Support (LTS) releases or Standard Term Support (STS) releases. The quality of all releases is the same. The only difference is the length of support. LTS releases get free support and patches for 3 years. STS releases get free support and patches for 18 months.
The latest version of .NET for Windows is 7.0, which is an STS release. The latest LTS release is 6.0.
You can install .NET on Windows using one of the following methods:
- Install with Windows Package Manager (winget)
- Install alongside Visual Studio Code
- Install with Windows Installer
- Install with PowerShell automation
- Install with Visual Studio
For more details on each method, see Install .NET on Windows.
Install on macOS
There are two types of supported releases for macOS: Long Term Support (LTS) releases or Standard Term Support (STS) releases. The quality of all releases is the same. The only difference is the length of support. LTS releases get free support and patches for 3 years. STS releases get free support and patches for 18 months.
The latest version of .NET for macOS is 7.0, which is an STS release. The latest LTS release is 6.0.
You can install .NET on macOS using one of the following methods:
- Install with Visual Studio Code
- Install with a package manager
- Install manually
For more details on each method, see Install .NET on macOS.
Install on Linux
There are two types of supported releases for Linux: Long Term Support (LTS) releases or Standard Term Support (STS) releases. The quality of all releases is the same. The only difference is the length of support. LTS releases get free support and patches for 3 years. STS releases get free support and patches for 18 months.
The latest version of .NET for Linux is 7.0, which is an STS release. The latest LTS release is 6.0.
You can install .NET on Linux using one of the following methods:
- Install with a package manager
- Install manually
- Use a snap package
For more details on each method, see Install .NET on Linux.