Get NuGet.exe version from command-line

Per Samuelsson picture Per Samuelsson · Apr 12, 2013 · Viewed 56.4k times · Source

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?

Answer

Julian picture Julian · Apr 16, 2013

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