Get NuGet.exe version from command-line

前端 未结 3 604
遇见更好的自我
遇见更好的自我 2021-02-03 16:52

I\'d like to get the NuGet.exe version using the command-line.

I know I can get the version of NuGet running as part of Visual Studio, as per the instructi

3条回答
  •  伪装坚强ぢ
    2021-02-03 17:47

    Windows Powershell:

    nuget help | select -First 1
    


    Command line (cmd.exe) | Package Manager Console in Visual Studio

    1.) nuget ? v
    2.) nuget help v
    

    The "v" command is actually not valid, but with this approach you only get the nuget version number and below the information that "v" is an unknow command.

提交回复
热议问题