How to install prerelease NuGet package

I will show two ways how to install prerelease NuGet package: using command line and using NuGet package manager integrated into Visual Studio.

Install prerelease NuGet package using command line

To use NuGet from command line you need NuGet client application. You can download it from here: https://nuget.codeplex.com/releases

To install prerelease NuGet package execute following command:

NuGet install <package-name> -pre

Example:

NuGet install expect.net -pre

You can as well search for prereleased packages with:

NuGet list <search-term> -pre

example:

NuGet list expect -pre

Done!

Install prerelease NuGet package using Visual Studio

Open NuGet package manager integrated with Visual Studio.

Visual studio package manager

Then change ‘Stable only’ to ‘Include Prerelease’ and search for package and click ‘Install’.

how to install prerelease nuget package

That’s all 🙂

One thought on “How to install prerelease NuGet package

  1. Pingback: Expect for .NET 2.0.0-rc released | Wojtek Iwanek Blog

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.