英文:
dotnet tool available globally but can't run command
问题
Running dotnet v7
dotnet --version
# => 7.0.100
我安装了dotnet-warp,使用以下命令
dotnet tool install --global dotnet-warp
我可以运行dotnet tool list -g
,结果如下
Package Id | Version | Commands |
---|---|---|
dotnet-warp | 1.1.0 | dotnet-warp |
然而,当我运行dotnet-warp --version
时,我收到以下错误消息
zsh: 找不到命令: dotnet-warp
我们的团队对.NET不是很精通,但偶尔需要维护这个遗留项目,所以我希望有些地方可能我遗漏了。
英文:
Running dotnet v7
dotnet --version
# => 7.0.100
I installed dotnet-warp using the command
dotnet tool install --global dotnet-warp
I am able to run dotnet tool list -g
with the following result
Package Id | Version | Commands |
---|---|---|
dotnet-warp | 1.1.0 | dotnet-warp |
However, when I run dotnet-warp --version
I get the following error
> zsh: command not found: dotnet-warp
Our team is not proficient in .NET, but we occasionally have to maintain this legacy project so I hope there is something I am missing here.
Expected to execute command after verifying it was installed in the global tool list.
答案1
得分: 1
需要将这个工具添加到我的路径中!
英文:
Needed to add the tool to my path!
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论