Search code examples
powershellchocolatey

Chocolatey - Installation exists but command does not run


I attempted to install Chocolatey and the command returned that the installation already existed, but when I ran choco -?, it returned an error that the command didn't exist.

Image of Powershell


Solution

  • I did this using @mklement0 's solution. I deleted C:\ProgramData\chocolatey and reinstalled chocolatey normally.