197k views
5 votes
How to find out what version of .NET is installed?

User Sanna
by
6.9k points

1 Answer

2 votes

Final answer:

To find the .NET version installed, use the Registry Editor to check the relevant key or enter commands in the Command Prompt or PowerShell.

Step-by-step explanation:

To find out what version of .NET is installed on a Windows computer, you can use a few different methods depending on your preference and technical comfort level. One common way is to use the Registry Editor. You can press Win + R, type in 'regedit', and navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP. Under this key, you'll see a list of installed versions. Another way is to use the Command Prompt or PowerShell by entering the command 'dotnet --version' to see the installed version of .NET Core or .NET 5 and above, or 'dotnet --list-sdks' to see all installed SDK versions.

To find out what version of .NET is installed, you can use the Command Prompt or PowerShell on your computer.

For Windows:

Open the Command Prompt or PowerShell by typing 'cmd' or 'powershell' in the search bar.

Once the Command Prompt or PowerShell is open, type the following command and press Enter: dotnet --version

The version of .NET installed on your computer will be displayed.

For Mac and Linux:

Open the Terminal on your computer.

Once the Terminal is open, type the following command and press Enter: dotnet --version

The version of .NET installed on your computer will be displayed.

User Oleg Fridman
by
8.3k points