Step by step uninstall/install cardmod

Since last week card-mod not working anymore.
Tried to reinstall but get the message: already in store but it’s not there.

I removed complete folder and a manual install in www using command : git clone GitHub - thomasloven/lovelace-card-mod: 🔹 Add CSS styles to (almost) any lovelace card

I also put this in yaml:
https://frontend:
extra_module_url:
- /homeassistant/www/lovelace-card-mod/card-mod.js

Please help me step by step.

Card_mod had a breaking change with the latest update, so it was working, but your code were wrong after the latest update. ALWAYS read the breaking change messages!

I found the solution. When I first install a random card with Hacs, no problem. After that I install mod-card, no problem. When I remove both directories and try to install mod-card first, it does not install.