Because of playing around with some configurations I have a lot of unused but installed packages.
Can I list them somehow to know which ones I can uninstall?
The important point here is that not all packages are loaded at start. Some are loaded on demand via use-package
.
There is a M-x package-autoremove
. This does not take care that some packages are loaded later via use-package
. And there are also packages listet that are definitely in use: e.g. use-package
, swiper
, eglot
, ...
I also tried to use swiper
and open a py-file
(because of eglot
) but the list that package-autoremove
offers me does not change.
Maybe there is a way to tell use-package
globally once to load everything and than do package-autoremove
?