Where does the Nuget.exe commandline tool install to?

Aug 9, 2011 at 12:37 PM
Edited Aug 9, 2011 at 12:54 PM

I clicked the link to download the Nuget command line; it asked me if I wanted to run nuget, I agreed.

It ran.    Apparently it was successful.   Did it install?

where is it?

I looked in \program files - nothing new there.

I looked in \program files (x86) . - nothing new.

Nothing new in the path.  Come on now; don't make me hunt for it.

This is so FAQ-ish, I figured for sure there'd be an entry in the FAQ.  But no.


Aug 9, 2011 at 4:40 PM
Edited Aug 9, 2011 at 4:41 PM

it's not a program file, it is a command line tool. You need to put it inside a path somewhere and then use it from there. For example, if you download it inside the c:\tools folder, follow the following steps;

1- open up the Run window by clicking Windows + R

2- type 'cmd' (without quotes) and push enter.

3- type the following commands;

cd c:\tools

nuget spec

you will see a package.nuspec file inside the path.

see the following resource for further info : http://docs.nuget.org/docs/reference/command-line-reference

Feb 24, 2013 at 9:49 PM
Yeah this wasn't clear to me at first. When I run the install command from the nuget package manager console to install the command line tool, I had no idea how to access nuget.exe. I downloaded Nuget.exe from codeplex, but at first I thought it was an installer. Apparently you have to drop it somewhere and reference that path in your PATH environment variable.