A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-install below:

NuGet CLI install command | Microsoft Learn

Applies to: package consumption • Supported versions: all

Downloads and installs a package into a project, defaulting to the current folder, using specified package sources.

Tip

To download a package directly outside the context of a project, visit the package's page on nuget.org and select the Download link.

If no sources are specified, those listed in the global configuration file, %appdata%\NuGet\NuGet.Config (Windows) or ~/.nuget/NuGet/NuGet.Config (Mac/Linux), are used. See Common NuGet configurations for additional details.

If no specific packages are specified, install installs all packages listed in the project's packages.config file, making it similar to restore.

The install command does not modify a project file or packages.config; in this way it's similar to restore in that it only adds packages to disk but does not change a project's dependencies.

To add a dependency, either add a package through the Package Manager UI or Console in Visual Studio, or modify packages.config and then run either install or restore.

Usage
nuget install <packageID | configFilePath> [options]

where <packageID> names the package to install (using the latest version), or <configFilePath> identifies the packages.config file that lists the packages to install. You can indicate a specific version with the -Version option.

Options

Also see Environment variables

Examples
nuget install elmah

nuget install packages.config

nuget install ninject -OutputDirectory c:\proj

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4