For Jenkins - !new! Download Nuget.exe
Download directly from the latest distribution link.
Uncheck "Install automatically" and enter the absolute path to your downloaded nuget.exe in the field. 3. Linux and Mac Compatibility download nuget.exe for jenkins
Invoke-WebRequest -Uri "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" -OutFile "C:\Jenkins\Tools\nuget.exe" Use code with caution. Configuring NuGet in Jenkins Download directly from the latest distribution link