You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The NuGet trigger and the NuGet-related build runners require the NuGet command line binary configured on the server. They are automatically distributed to agents once configured. Several versions can be installed and a version of your choice can be set as the default one.

To install NuGet.exe on TeamCity:

  1. Go to the Administration | Tools tab.
  2. Click Install tool and select NuGet.exe.
  3. Select whether you want to download (default) NuGet from the public feed or upload your own NuGet package containing NuGet.exe.
      1. If the Download radio button is chosen, select the NuGet version to install on all build agents.


        It is recommended to use release versions of NuGet.

      1. If

      1. the Upload

      1.  radio button is selected,

      choose your
      1. choose your own NuGet package.

    1. Specify whether this NuGet version will be default using the related check-box. 
    2. Click Add to install the selected NuGet version.