nuget
NuGet Version: 2.8.7.0
usage: NuGet <command> [args] [options]
Type 'NuGet help <command>' for help on a specific command.
Available commands:
config Gets or sets NuGet config values.
delete Deletes a package from the server.
help (?) Displays general help information and help information about other
commands.
install Installs a package using the specified sources. If no sources are
specified, all sources defined in the NuGet configuration file are
used. If the configuration file specifies no sources, uses the def
ault NuGet feed.
list Displays a list of packages from a given source. If no sources are
specified, all sources defined in %AppData%\NuGet\NuGet.config are
used. If NuGet.config specifies no sources, uses the default NuGet
feed.
pack Creates a NuGet package based on the specified nuspec or project f
ile.
push Pushes a package to the server and publishes it.
NuGet's default configuration is obtained by loading %AppData%\NuG
et\NuGet.config, then loading any nuget.config or .nuget\nuget.con
fig starting from root of drive and ending in current directory.
restore Restores NuGet packages.
setApiKey Saves an API key for a given server URL. When no URL is provided A
PI key is saved for the NuGet gallery.
sources Provides the ability to manage list of sources located in %AppData
%\NuGet\NuGet.config
spec Generates a nuspec for a new package. If this command is run in th
e same folder as a project file (.csproj, .vbproj, .fsproj), it wi
ll create a tokenized nuspec file.
update Update packages to latest available versions. This command also up
dates NuGet.exe itself.
For more information, visit http://docs.nuget.org/docs/reference/command-line-reference
NuGet Version: 4.1.0.2450
usage: NuGet <command> [args] [options]
Type 'NuGet help <command>' for help on a specific command.
Available commands:
add Adds the given package to a hierarchical source. http sources are not supported. For more info, goto
https://docs.nuget.org/consume/command-line-reference#add-command.
config 获取或设置 NuGet 配置值。
delete 从服务器中删除程序包。
help (?) 显示一般帮助信息,以及有关其他命令的帮助信息。
init Adds all the packages from the <srcPackageSourcePath> to the hierarchical <destPackageSourcePath>. http feeds are not supported. For more info, goto https://docs.nuget.org/consume/command-line-referen ce#init-command.
install 使用指定的源安装程序包。如果未指定源,则将使用 NuGet 配置文件中定义的所有源。如果配置文件未指定源,则使用默认的 NuGet 源。
list 显示给定源中的程序包列表。如果未指定源,则使用 %AppData%\NuGet\NuGet.config 中定义的所有源。如果 NuGet.config 未指定源,则使用默认 NuGet 源。
locals Clears or lists local NuGet resources such as http requests cache, temp cache or machine-wide global packages folder.
pack 基于指定的 nuspec 或项目文件创建 NuGet 程序包。
push 将程序包推送到服务器并进行发布。
通过加载 %AppData%\NuGet\NuGet.config,然后加载从驱动器的根目录开始到当前目录为止的任何 nuget.config 或 .nuget\nuget.config 来获取 NuGet 的默认配置。
restore 还原 NuGet 程序包。
setApiKey 保存给定服务器 URL 所对应的 API 密钥。如果未提供 URL,则保存 NuGet 库的 API 密钥。
sources 可以管理位于 %AppData%\NuGet\NuGet.config 的源列表
spec 为新程序包生成 nuspec。如果此命令在项目文件(.csproj、.vbproj、.fsproj)所在的文件夹中运行,则它将创建已标记化的 nuspec 文件。
update 将程序包更新到最新的可用版本。此命令还更新 NuGet.exe 本身。
有关详细信息,请访问 http://docs.nuget.org/docs/reference/command-line-reference
PS C:\Users\Administrator>