Manage Packages Using NuGet CLI

The NuGet CLI (command line interface) is a command line tool providing functionaliy to install, create, publish and manage NuGet packages.

Below are console inputs for NuGet CLI commands related to installing and managing packages.


You need to specify the -Source key with the feed URL containing your feed authorization key to install and update packages from the DevExpress NuGet feed. Refer to Obtain Your NuGet Feed URL for details on how to obtain this URL.

Note that the -Source key can be omitted if the packages.config or solution file includes the DevExpress feed as a package source.

# Add the DevExtreme.AspNet.Core to the current project
# Here and below, the -Source specifies the package source (that is, the DevExpress NuGet feed)
nuget install DevExtreme.AspNet.Core -Source{your-feed-authorization-key}/api

# Update all packages in the project
nuget update -Source{your-feed-authorization-key}/api

# Update the DevExtreme.AspNet.Core package
nuget update -Id DevExtreme.AspNet.Core -Source{your-feed-authorization-key}/api

# Remove the DevExtreme.AspNet.Core package
nuget delete DevExtreme.AspNet.Core

# Install missing packages
dotnet restore -Source{your-feed-authorization-key}/api

Refer to NuGet CLI Reference for more information on NuGet CLI and its commands.