1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/choco-new.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

24 lines
679 B
Markdown

# choco new
> Generate new package specification files with Chocolatey.
> More information: <https://chocolatey.org/docs/commands-new>.
- Create a new package skeleton:
`choco new {{package_name}}`
- Create a new package with a specific version:
`choco new {{package_name}} --version {{version}}`
- Create a new package with a specific maintainer name:
`choco new {{package_name}} --maintainer {{maintainer_name}}`
- Create a new package in a custom output directory:
`choco new {{package_name}} --output-directory {{path/to/directory}}`
- Create a new package with specific 32-bit and 64-bit installer URLs:
`choco new {{package_name}} url="{{url}}" url64="{{url}}"`