Forrest logo
back to the choco tool

choco-upgrade:tldr:7c1b7

choco-upgrade: Upgrade all except specified comma-separated packages.
$ choco upgrade all --except "${package1 package2 ---}"
try on your machine

This command is used in the Chocolatey package manager for Windows. Chocolatey is a command-line tool that simplifies the installation, upgrade, and management of software packages on Windows.

The command "choco upgrade all" is used to upgrade all installed packages on the system to their latest versions. It checks for updates for all packages and installs the new versions.

The parameter "--except" is used to exclude specific packages from being upgraded. In this case, the "${package1 package2 ---}" represents a list of package names separated by spaces that should not be upgraded. You would replace "package1" and "package2" with the actual names of the packages you want to exclude from the upgrade process.

So, the purpose of this command is to upgrade all installed packages except for the ones specified in the "--except" parameter. It allows you to selectively upgrade only the packages that you want to update while excluding specific packages from being upgraded.

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