Extracting Nupkg files using command line

Lewis picture Lewis · May 16, 2013 · Viewed 137.2k times · Source

Firstly, I do not want to use Visual Studio at all when dealing with the certain .nupkg files.

I know there is a tool called NuGet Package Explorer and this can export nupkg files to a certain file location using a gui, but I'm looking to setup a MSBuild task to run and unpack about 50 .nupkg files, using the command line.

My question is, is there a tool you can use via the command line which will unpack .nupkg files to a specified file location?

Answer

Calvin Allen picture Calvin Allen · May 16, 2013

NuPKG files are just zip files, so anything that can process a zip file should be able to process a nupkg file, i.e, 7zip.