2018-03-29 17:03:34 +01:00
|
|
|
# choco new
|
|
|
|
|
|
|
|
> Generate new package specification files with Chocolatey.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://chocolatey.org/docs/commands-new>.
|
2018-03-29 17:03:34 +01:00
|
|
|
|
|
|
|
- Create a new package skeleton:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`choco new {{package}}`
|
2018-03-29 17:03:34 +01:00
|
|
|
|
|
|
|
- Create a new package with a specific version:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`choco new {{package}} --version {{version}}`
|
2018-03-29 17:03:34 +01:00
|
|
|
|
|
|
|
- Create a new package with a specific maintainer name:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`choco new {{package}} --maintainer {{maintainer_name}}`
|
2018-03-29 17:03:34 +01:00
|
|
|
|
|
|
|
- Create a new package in a custom output directory:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`choco new {{package}} --output-directory {{path/to/directory}}`
|
2018-03-29 17:03:34 +01:00
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Create a new package with specific 32-bit and 64-bit installer URLs:
|
2018-03-29 17:03:34 +01:00
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`choco new {{package}} url="{{url}}" url64="{{url}}"`
|