Verify installation with dotnet info
After installation, verify that .NET is properly installed using the dotnet --info command.
What to Check
Section titled “What to Check”- Version: Current SDK version
- Runtime: Installed runtime versions
- Path: Installation directory
- OS: Operating system and architecture
# Verify .NET installationdotnet --info
# Simplified version checkdotnet --versionExpected Output
Section titled “Expected Output”.NET SDK: Version: 8.0.100 Commit: xxxxxxxx
Runtime Environment: OS Name: Windows OS Version: 10.0.22621 OS Platform: WindowsIf the command fails, restart your terminal or reinstall the SDK.