首页 > 解决方案 > 工具“dotnet-try”安装失败

问题描述

尝试通过运行从 Windows 上的命令提示符安装dotnet-trydotnet tool install -g dotnet-try全局工具, 但失败并出现以下错误。

无法为工具 'dotnet-try' 创建 shell shim:命令 'dotnet-try' 与来自另一个工具的现有命令冲突。工具 'dotnet-try' 安装失败。

任何帮助,将不胜感激。

标签: .net.net-coredotnet-tool

解决方案


以下是安装、卸载更新的最新命令 dotnet-try

安装

> dotnet tool install -g Microsoft.dotnet-try

卸载

> dotnet tool uninstall -g Microsoft.dotnet-try

更新

> dotnet tool update -g Microsoft.dotnet-try

推荐阅读