A newer version of this page is available. Switch to the current version.

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 https://nuget.devexpress.com/{your-feed-authorization-key}/api -Source https://api.nuget.org/v3/index.json

# Update all packages in the project
nuget update -Source https://nuget.devexpress.com/{your-feed-authorization-key}/api -Source https://api.nuget.org/v3/index.json

# Update the DevExtreme.AspNet.Core package
nuget update -Id DevExtreme.AspNet.Core -Source https://nuget.devexpress.com/{your-feed-authorization-key}/api -Source https://api.nuget.org/v3/index.json

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

# Install missing packages
dotnet restore -s https://nuget.devexpress.com/{your-feed-authorization-key}/api -s https://api.nuget.org/v3/index.json

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