DevOps – Check Which .NET Core Versions Are Installed on your Machine

In this blog post, I’ll show you how to check which .NET Core versions are installed on your machine.

If you are a developer or a DevOps engineer you might have a few versions on .NET installed on your machine.

.NET CLI

Using the .NET Core CLI command line tool we can check in which versions are installed using a single command.

The command below will show you all the installed version and it works on all operating systems platforms.

dotnet --info

As you can see below, I have .NET 2.1, 2.1 and 3.0 installed on my machine.

The command also shows the current environment settings of the machine like OS type, Version and platform.


Posted

in

by