The dotnet is a tool for working with dotnet core applications.You can perform various useful tasks using this.There are two different concepts in .NET Core,runtime and sdk.The sdk includes everything to develop,run and publish applications wile runtime just allows to run the applications.
To check if dotnet core is installed you can use the following command at the command prompt
where dotnet
this command will give the location where the dotnet core is installed.
Now you can check the version of the dotnet core cli using the following command
dotnet --version
To check the sdks installed on your machine you can use
dotnet --list-sdks
To check the runtimes installed on your machine you can use
dotnet --list-runtimes