Files
cheatsheet-tldr/tldr/windows/choco-pack

22 lines
616 B
Plaintext

---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# choco pack
> Package a NuGet specification into a `nupkg` file.
> More information: <https://chocolatey.org/docs/commands-pack>.
- Package a NuGet specification to a `nupkg` file:
`choco pack {{path o\specification_file}}`
- Package a NuGet specification specifying the version of the resulting file:
`choco pack {{path o\specification_file}} --version {{version}}`
- Package a NuGet specification to a specific directory:
`choco pack {{path o\specification_file}} --output-directory {{path o\output_directory}}`