<commit_before>﻿# Uninstall Command (choco uninstall)

Uninstalls a package or a list of packages. Some may prefer to use
 `cuninst` as a shortcut for [[`choco uninstall`|Commandsuninstall]].

**NOTE:** 100% compatible with older chocolatey client (0.9.8.32 and below)
 with options and switches. Add `-y` for previous behavior with no
 prompt. In most cases you can still pass options and switches with one
 dash (`-`). For more details, see [[how to pass arguments|CommandsReference#how-to-pass-options--switches]] (`choco -?`).

Choco 0.9.9+ automatically tracks registry changes for "Programs and
 Features" of the underlying software's native installers when
 installing packages. The "Automatic Uninstaller" (auto uninstaller)
 service is a feature that can use that information to automatically
 determine how to uninstall these natively installed applications. This
 means that a package may not need an explicit chocolateyUninstall.ps1
 to reverse the installation done in the install script.

Chocolatey tracks packages, which are the files in
 `$env:ChocolateyInstall\lib\packagename`. These packages may or may not
 contain the software (applications/tools) that each package represents.
 The software may actually be installed in Program Files (most native
 installers will install the software there) or elsewhere on the
 machine.

With auto uninstaller turned off, a chocolateyUninstall.ps1 is required
 to perform uninstall from the system. In the absence of
 chocolateyUninstall.ps1, choco uninstall only removes the package from
 Chocolatey but does not remove the software from your system (unless
 in the package directory).

**NOTE:** Starting in 0.9.10+, the Automatic Uninstaller (AutoUninstaller)
 is turned on by default. To turn it off, run the following command:

    choco feature disable -n autoUninstaller

**NOTE:** [Chocolatey Pro](https://chocolatey.org/compare) / Business automatically synchronizes with 
 Programs and Features, ensuring manually removed apps are 
 automatically removed from Chocolatey's repository.

**NOTE:** Synchronizer and AutoUninstaller enhancements in licensed 
 versions of Chocolatey ensure that Autouninstaller is up to 95% 
 effective at removing software without an uninstall script. This is <commit_msg>(docs) update generated docs<commit_after>﻿# Uninstall Command (choco uninstall)

Uninstalls a package or a list of packages. Some may prefer to use
 `cuninst` as a shortcut for [[`choco uninstall`|Commandsuninstall]].

**NOTE:** 100% compatible with older chocolatey client (0.9.8.32 and below)
 with options and switches. Add `-y` for previous behavior with no
 prompt. In most cases you can still pass options and switches with one
 dash (`-`). For more details, see [[how to pass arguments|CommandsReference#how-to-pass-options--switches]] (`choco -?`).

Choco 0.9.9+ automatically tracks registry changes for "Programs and
 Features" of the underlying software's native installers when
 installing packages. The "Automatic Uninstaller" (auto uninstaller)
 service is a feature that can use that information to automatically
 determine how to uninstall these natively installed applications. This
 means that a package may not need an explicit chocolateyUninstall.ps1
 to reverse the installation done in the install script.

Chocolatey tracks packages, which are the files in
 `$env:ChocolateyInstall\lib\packagename`. These packages may or may not
 contain the software (applications/tools) that each package represents.
 The software may actually be installed in Program Files (most native
 installers will install the software there) or elsewhere on the
 machine.

With auto uninstaller turned off, a chocolateyUninstall.ps1 is required
 to perform uninstall from the system. In the absence of
 chocolateyUninstall.ps1, choco uninstall only removes the package from
 Chocolatey but does not remove the software from your system (unless
 in the package directory).

**NOTE:** A package with a failing uninstall can be removed with the
`-n --skipautouninstaller` flags. This will remove the package from
chocolatey without attempting to uninstall the program.

**NOTE:** Starting in 0.9.10+, the Automatic Uninstaller (AutoUninstaller)
 is turned on by default. To turn it off, run the following command:

    choco feature disable -n autoUninstaller

**NOTE:** [Chocolatey Pro](https://chocolatey.org/compare) / Business automatically synchronizes with 
 Programs and Features, ensuring manually removed apps are 
 automatically removed from Chocolatey's repository.

**NOTE:** Synchronizer and AutoUninstaller enhancements in licensed 
 versions of Chocolatey ensure that Autouninstaller is up to 95% 
 effective at removing software without an uninstall script. This is 
{'fraction_non_alphanumeric': 0.060223204885238996, 'fraction_numerical': 0.008422825858075385, 'mean_word_length': 4.9523809523809526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5377307', 'n_tokens_mistral': 1224, 'n_tokens_neox': 1155, 'n_words': 615}