tldr/pages/windows/choco-pack.md
2019-03-20 11:23:44 +05:30

499 B

choco pack

Package a NuGet specification into a nupkg file. Homepage: https://chocolatey.org/docs/commands-pack.

  • Package a NuGet specification to a nupkg file:

choco pack {{path/to/specification}}

  • Package a NuGet specification specifying the version of the resulting file:

choco pack {{path/to/specification}} --version {{version}}

  • Package a NuGet specification to a specific directory:

choco pack {{path/to/specification}} --output-directory {{path/to/output_directory}}