O'Reilly logo

Pro NuGet by Xavier Decoster, Maarten Balliauw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Pushing a Package

The following command pushes a package to the server:

nuget push <package path> [API key] [options]

Depending on the NuGet feed you are pushing to, the package will immediately be published as well. Optionally, this behavior can be disabled by specifying the -CreateOnly option.

Available options are shown in Table B-7.

images

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required