Forrest logo
back to the choco tool

choco-upgrade:tldr:08025

choco-upgrade: Upgrade to a specific version of a package.
$ choco upgrade ${package} --version ${version}
try on your machine

The command "choco upgrade ${package} --version ${version}" is used to upgrade a specific package on a Windows machine using Chocolatey package manager.

Here's what each component of the command does:

  • "choco" is the command-line interface (CLI) tool for Chocolatey, a package manager for Windows. It allows managing and installing software packages from various sources.

  • "upgrade" is a subcommand of Chocolatey that upgrades an installed package to a newer version.

  • "${package}" represents the name of the package you want to upgrade. This should be replaced with the actual package name, such as "googlechrome" or "firefox," depending on what package you want to upgrade.

  • "--version" is an option in the command that specifies the version of the package to upgrade to.

  • "${version}" represents the specific version number of the package you want to upgrade to. It should be replaced with the desired version number, such as "90.0.4430.212" for Google Chrome.

Overall, the command will check for an installed package with the specified name, and if found, it will upgrade it to the specified version using Chocolatey.

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