How to install NuGet packages directly

April 23, 2013 by Anuraj

.Net CodeProject Miscellaneous Visual Studio

If you are developing applications using VS 2010 Express editions, you will miss the Package Manager console, which helps us to install libraries or packages via NuGet. The Nuget package manager console is not integrated to VS 2010 Express editions.(Visual Web Developer Express is an exception, it has a package manager console integration). To overcome this issue I found some workarounds like create project in VS C# Express edition, open the same project in VS Web Developer Express and install package(s) using NuGet. But I don’t feel that is a good solution to the problem. Later I found a nice solution using NuGet command line option. You can download the NuGet.exe from codeplex.

You can download any package from using following command.

Nuget.exe install <package name>

Using Nuget.exe, you can see the list of assemblies using list command option.

NuGet.exe list <package name>

Currently there is no command to delete an installed package using NuGet.exe, instead you can delete the folder directly.

Here is the screen shot NuGet.exe installing jQuery.Validation from

NuGet commandline

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub