可使用终端查看当前安装的 .NET Core SDK 版本。 打开终端并运行 dotnet --list-sdks 命令。
dotnet --list-sdks
可使用 dotnet --list-runtimes 命令查看当前安装的 .NET Core 运行时版本。
dotnet --list-runtimes