找不到与命令“ dotnet-tool”匹配的可执行文件。 [英] No executable found matching command "dotnet-tool"

查看:93
本文介绍了找不到与命令“ dotnet-tool”匹配的可执行文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从安装伪造官方网站,并使用以下命令(该网站提供):

I'm trying to install Fake from the official site with the following command (provided at the site):

dotnet tool install fake-cli -g

但是我遇到以下错误:

No executable found matching command "dotnet-tool"

我的dotnet版本为 2.1.201 ,我正在运行Windows 10 Professional,具有所有最新更新。

My dotnet version is 2.1.201, and I am running Windows 10 Professional, with all of the latest updates.

推荐答案

dotnet工具 命令仅在.NET Core SDK 2.1.300及更高版本中安装。您需要更新SDK才能使此命令可用。

The dotnet tool command is only installed with the release of .NET Core SDK version 2.1.300 and later. You need to update your SDK to make this command available.

这篇关于找不到与命令“ dotnet-tool”匹配的可执行文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆