Dotnet Core - nuget:找不到命令

问题描述 投票:1回答:2

我已经在我的ubuntu机器上使用instuctions安装了dotnet核心。现在我注意到没有安装nuget。

bash: nuget: command not found

在我的Mac上,nuget在安装dotnet核心后可用。

我想要的原因是我需要推送一个包。

如何在我的ubuntu机器上获得nuget?

nuget nuget-package .net-core asp.net-core-1.0
2个回答
1
投票

Dotnet提供dotnet nuget push命令,它将包推送到服务器并发布它。

此链接可能会有所帮助:


0
投票

dotnet cli包含SDK中包含的一系列内置命令。您可以使用dotnet --help列出它们。您可以使用dotnet nuget --help列出nuget子命令。仍然支持Nuget.exe,但仅限于Windows

© www.soinside.com 2019 - 2024. All rights reserved.