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
NuGet install expect.net -pre
You can as well search for prereleased packages with:
NuGet list <search-term> -pre
NuGet list expect -pre
Install prerelease NuGet package using Visual Studio
Open NuGet package manager integrated with Visual Studio.
Then change ‘Stable only’ to ‘Include Prerelease’ and search for package and click ‘Install’.
That’s all 🙂