I installed winfetch
by using Install-Script winfetch
command, after installing when i run winfecth
command in PowerShell it gives me this error. I have already installed chocolatey
& I'm using PowerShell in windows terminal.
How can i fix it ?
clist
and the other deprecated shims have been removed from Chocolatey CLI. This happened in version 2.0.0 of Chocolatey CLI, and tracked under this issue: https://github.com/chocolatey/choco/issues/2642
You, and also winfetch, should be using choco list
rather than clist
, or, if you are actually searching for packages on a remote source, you should be using choco search
.
In the meantime, while winfetch is updated, you might want to think about downgrading to an earlier version of Chocolatey CLI. This can be done using:
choco upgrade chocolatey --version 1.4.0 --allow-downgrade