How to list and uninstall addons from CLI?

Hi there,

since yesterday, I am facing an issue with the vscode addon. At least, I assume the issues from that, because supervisor log indicates an unhealthy state of the addon, HA won’t start properly… The watchdog for vscode is enabled, so it starts over and over…

I thought about uninstalling the addon via CLI, but I am not able to identify the technical name I need to provide in addons uninstall [name], because when just running addons, the list is too long and I am not able to scroll upwards, as I am using the Synology VM Terminal connection.

My home assistant instances startup is taking hours, and even then it is not up and running properly, as the addons are not loaded successfully.

Hoping for a hint on that!

docker ps

CONTAINER ID   IMAGE                                                      COMMAND                  CREATED         STATUS                 PORTS                                                                                                                          NAMES
21e56529d30a      "/init"                  5 hours ago     Up 5 hours                                                                                                                                            hassio_supervisor
72867de1bcf1   homeassistant/amd64-addon-mosquitto:6.4.1                  "/init"                  3 days ago      Up 3 days    >1883-1884/tcp, :::1883-1884->1883-1884/tcp,>8883-8884/tcp, :::8883-8884->8883-8884/tcp   addon_core_mosquitto
0433cac09747   "/init"                  3 days ago      Up 3 days                                                                                                                                             homeassistant
81d3cf3bedc0                    "/init"                  5 days ago      Up 5 days                                                                                                                                             addon_5c53de3b_esphome
02eae08cc3ad                     "/init"                  12 days ago     Up 12 days                                                                                                                                            addon_a0d7b954_ssh