Uninstalling scoop deletes all persist data. This is not intuitive given that uninstalling an app won't delete the app's persist data. As you can probably guess, I just lost all all my persist data in an attempt to install scoop from scratch. 🤦♂️
maybe a option would be have "remove" just for delete the app and "uninstall" for delete everything?
@John3 There is option already. --purge is your "uninstall", but he is talking about whole scoop, not just some application. Scoop does not respect this option.
@r15ch13 Could this line be conditionial based on used purge argument?
Update
Forgot this line appending $purge
@Ash258 yes, or it just deletes apps, buckets, cache, modules and shims leaving the persist directory.
So basically adding, purge parameter, and running if ($purge) {Get-ChildItem $scoopdir -Exclude 'persist' | Remove-Item -Recurse -Force} same for global.
Yep 👍
Most helpful comment
Yep 👍