Forrest logo
back to the choco tool

choco-new:tldr:84bcf

choco-new: Create a new package with a specific version.
$ choco new ${package_name} --version ${version}
try on your machine

This command is used in Chocolatey, a package manager for Windows, to create a new package with a specified name and version.

  • ${package_name} is a placeholder that should be replaced with the desired name for the package you want to create. For example, if you want to create a package named "myapp", you would replace ${package_name} with myapp.

  • --version is an option that specifies the version number for the package. ${version} is a placeholder that should be replaced with the desired version number for the package. For example, if you want to create a package with version 1.0.0, you would replace ${version} with 1.0.0.

So, when you run the command choco new ${package_name} --version ${version}, you create a new package in Chocolatey with the specified name and version.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the choco tool