Where to find your .NET version on Windows
The fastest way to check your .NET version is through the command line. Open Command Prompt (search "cmd" in your Windows start menu) and type dotnet --version, then press Enter. This shows the version of .NET you have installed.
If you get an error saying the command is not recognized, .NET is not installed on your system. You can still check what older versions of .NET Framework came with Windows by opening Control Panel, selecting Programs, then Programs and Features. Look for entries that say ".NET Framework" — these are the built-in versions that come with Windows itself.
For a more detailed list of everything installed, type dotnet --info in Command Prompt. This shows your .NET version, your operating system details, and the runtime versions available on your machine.
Key Takeaways
- Type dotnet --version in Command Prompt to see your current .NET version when ready.
- .NET Framework (the older system) comes built into Windows, while .NET (the newer system) must be installed separately.
- If the dotnet command does not work, .NET is not installed, but you may still have the older .NET Framework.
- Use dotnet --info to see detailed information about all .NET runtimes and SDKs on your computer.
Understanding .NET Framework versus .NET
Windows comes with .NET Framework built in — this is the older system that has been part of Windows for years. You cannot remove it completely, and most Windows machines have at least one version. To see which versions of .NET Framework you have, go to Control Panel, Programs, Programs and Features, and look for ".NET Framework" in the list.
.NET (without "Framework" in the name) is the newer, separate system that you install yourself. It is not part of Windows by default. Programs written for the newer .NET need it installed to run, just like you would need to install Chrome or Firefox. This is why some programs ask you to read and install .NET before they will work.
Both can exist on the same computer. You might have .NET Framework 4.8 (built into Windows) and .NET 8 (installed separately) at the same time. Each program uses whichever version it was built for.
Why programs need specific .NET versions
A program written for .NET 6 will not run on .NET 8, and a program written for .NET Framework 4.7 will not run on .NET 6. The program's installer or documentation tells you which version it needs. If you try to run a program and get an error about .NET, it means you do not have the right version installed.
This is similar to how some programs need a specific version of Java or Python to work. The developer chose a version when they wrote the program, and that choice is locked in. Installing a newer version does not automatically make older programs work — you need the version the program was built for.
Installing .NET if you need it
If a program tells you that you need .NET and you do not have it, go to dotnet.microsoft.com and read the version the program requires. Microsoft offers different downloads: the Runtime (the minimum needed to run programs) and the SDK (the full development tools, only needed if you are writing code).
For most people, read the Runtime. Choose the version number the program asked for — if it said ".NET 8", read .NET 8 Runtime, not .NET 7 or .NET 9. The installer is straightforward: read, run it, and restart your computer when it finishes.
After installation, you can verify it worked by opening Command Prompt again and typing dotnet --version. You should see the version you just installed.
Checking .NET version on other operating systems
On Mac, open Terminal (search "terminal" in Spotlight) and type dotnet --version, just like Windows. The command is identical.
On Linux, open a terminal and type the same command. .NET runs on Ubuntu, Debian, Fedora, and other distributions, though you may need to install it through your package manager first (like apt or yum) rather than downloading from Microsoft's website.
What to do if you have multiple .NET versions
It is normal and safe to have multiple versions of .NET installed. Each program uses the version it needs, and they do not interfere with each other. You can have .NET 6, .NET 7, and .NET 8 all on the same computer without problems.
If you want to see all versions installed, type dotnet --info in Command Prompt. This lists every .NET runtime and SDK on your machine. You only need to uninstall a version if you are running low on disk space or if a program specifically tells you to remove an old version.
Frequently Asked Questions
What is the difference between .NET and .NET Framework?
.NET Framework is the older system built into Windows. .NET is the newer, separate system you install yourself. Programs written for one will not run on the other, so you need the right version for each program you use.
Do I need to update .NET if a newer version comes out?
Only if a program you use requires the newer version. Older programs continue to work with their original .NET version. Updating is not necessary unless you have a specific reason — a program stops working, or you want to use a new program that needs a newer version.
Can I remove old versions of .NET to free up space?
Yes, you can uninstall old versions through Control Panel, Programs, Programs and Features. Only remove versions you are certain no programs use. If you are unsure, leave them installed — the space they take is usually small.
What if the dotnet command still does not work after I install it?
Restart your computer after installation. Windows needs to refresh its system paths to recognize the new command. If it still does not work, the installation may have failed — try downloading and installing again from dotnet.microsoft.com.
How do I know which .NET version a program needs?
Check the program's documentation, website, or the error message it shows when you try to run it. The error usually says something like "requires .NET 7" or "requires .NET Framework 4.8". Install that specific version from dotnet.microsoft.com or Windows built-in programs.