2025-03-14 21:59:59 -06:00
|
|
|
# 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}}`
|
|
|
|
|
|
|
|
|
|
- Create a new package with a specific version:
|
|
|
|
|
|
|
|
|
|
`choco new {{package}} --version {{version}}`
|
|
|
|
|
|
|
|
|
|
- Create a new package with a specific maintainer name:
|
|
|
|
|
|
|
|
|
|
`choco new {{package}} --maintainer {{maintainer_name}}`
|
|
|
|
|
|
|
|
|
|
- Create a new package in a custom output directory:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`choco new {{package}} {{[--out|--output-directory]}} {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a new package with specific 32-bit and 64-bit installer URLs:
|
|
|
|
|
|
|
|
|
|
`choco new {{package}} url="{{url}}" url64="{{url}}"`
|