How to determine if C# .NET Core is installed?


The following options are for dotnet by itself. For example, dotnet −−info. They print out information about the environment if not installed it will throw error.

−−info

Prints out detailed information about a .NET Core installation and the machine environment, such as the current operating system, and commit SHA of the .NET Core version.

−−version

Prints out the version of the .NET Core SDK in use.

−−list−runtimes

Prints out a list of the installed .NET Core runtimes. An x86 version of the SDK lists only x86 runtimes, and an x64 version of the SDK lists only x64 runtimes.

−−list−−sdks

Prints out a list of the installed .NET Core SDKs.

−h|−−help

Prints out a list of available commands.

Updated on: 07-Nov-2020

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements