Computer >> Computer tutorials >  >> Programming >> C#

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.

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

−−version

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

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

−−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.

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

−−list−−sdks

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

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

−h|−−help

Prints out a list of available commands.

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