
Use the -Source option to restrict the search. You can display a list of packages from a given source using the list command.
#Sublime merge cmdlone install
If you want to reinstall packages, use the restore or install command. To delete one or more packages, delete the packages you want to remove from the packages folder. You can also install a specific version of a Nuget package: nuget install -Version įor example, to add version 12.0.1 of the Newtonsoft.json package, use this command: nuget install Newtonsoft.Json -Version 12.0.1įor more information on the limitations and behavior of install, see Install a package. If the version is not specified when you use the install command, NuGet installs the latest version of the package. nuget install nfig -OutputDirectory packages This does not add the package to your project dependencies, but installs it locally. To install the Newtonsoft.json package to the packages folder, use the following command: nuget install Newtonsoft.Json -OutputDirectory packagesĪlternatively, you can use the following command to install a NuGet package using an existing nfig file to the packages folder. Use the following command to install a NuGet package to the packages folder. Open a command line and switch to the directory that contains your project file. To add a dependency, either add a package through the Package Manager UI or Console in Visual Studio, or modify nfig and then run either install or restore. The installcommand does not modify a project file or nfig in this way it's similar to restore in that it only adds packages to disk but does not change a project's dependencies.
