Search code examples
command-lineversionnuget

Get NuGet.exe version from command-line


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 instructions here, but what I'm after is something similar from the command-line, i.e like:

nuget --version

Any ideas?


Solution

  • Typing nuget help from the command line will in addition to the expected help information also list the current NuGet.exe version.