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.
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.
Prints out the version of the .NET Core SDK in use.
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.
Prints out a list of the installed .NET Core SDKs.
Prints out a list of available commands.