Files
cheatsheet-tldr/tldr/windows/choco-pack
2025-12-22 00:22:43 +00:00

22 lines
644 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://docs.chocolatey.org/en-us/create/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}} {{[--out|--output-directory]}} {{path o\output_directory}}`