Installing plugins without anki interface

Hey!

I wanted to ask what anki does when it installs plugins. Does it only unzip them inside the plugins folder? Or does it also register some stuff or write to a config file?

The reason being that I want to automate the process of setting up my PC and having plugins installed automatically would be nice as well.

An alternative would be to contribute back and add CLI functionality. However, this would also mean more maintenance in the long run…

I’ve tried to look it up in the repository myself but without knowing how the code is structured, it’s hard to find.

Yes, unzipping add-ons under the addons21 folder is all you need to install them without the interface.

4 Likes

Thanks! Would you mind linking me to the source code that does it? So I can keep track in case this changes later on downstream?

3 Likes