tldr/pages/windows/choco-new.md

25 lines
671 B
Markdown
Raw Normal View History

2018-03-29 17:03:34 +01:00
# choco new
> Generate new package specification files with Chocolatey.
2019-03-18 11:29:37 +00:00
> Homepage: <https://chocolatey.org/docs/commands-new>.
2018-03-29 17:03:34 +01:00
- 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}}"`