According to the page at: https://dist.nuget.org/index.html
NuGet 4.x is included in the Visual Studio 2017 installation. Latest NuGet releases are delivered as part of Visual Studio updates.
Batteries are included!
No matter whether I open a Visual Studio 2017 command prompt or the Nuget console itself, running the 'nuget' command results in command not found.
How can I run the nuget CLI with Visual Studio 2017? What am I missing?
To use any command, open a command window or bash shell, then run nuget followed by the command and appropriate options, such as nuget help pack (to view help on the pack command). This documentation reflects the latest version of the NuGet CLI.
Starting in Visual Studio 2017, NuGet and the NuGet Package Manager are automatically installed with any . NET-related workloads. Install it individually by selecting the Individual components > Code tools > NuGet package manager option in the Visual Studio installer.
Opening the console and console controls Open the console in Visual Studio using the Tools > NuGet Package Manager > Package Manager Console command.
Although it says "Batteries are included" on the page you have mentioned, that only refers to how the NuGet package manager is integrated with Visual Studio 2017. The other downloads on that page are for Visual Studio 2013-2015.
If you want the command line nuget.exe
in order to create NuGet packages, that is still a separate download on the page you mentioned: https://dist.nuget.org/index.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With