.NET Installation Guide
Welcome to the official installation guide for .NET. Choose your operating system below to get started.
Supported Platforms
Quick Start (Windows)
Open PowerShell with administrative rights and run:
winget install Microsoft.DotNet.SDK.8
Verify installation:
dotnet --version
Command‑line Installation (Linux)
For Ubuntu 22.04:
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
Homebrew (macOS)
brew install --cask dotnet-sdk
After installation, add the SDK to your PATH:
export PATH="/usr/local/share/dotnet:$PATH"
Next Steps
Start a new project:
dotnet new console -o MyApp
cd MyApp
dotnet run
Explore the runtime documentation or dive into the SDK reference.