How to automate plugins install in matomo using a script or API (without UI)?

hello ,
Without using the UI manually, I would want to know how to automate the installation of Matomo plugins using scripts or API calls.
thanks