Install all availale bindings

I wish to install all available bindings via Rest. But when I am gettting all bindings and requesting each to install through a loop in my backend code, OpenHab installs the bindings first and then deinstalls them. Does anyone know what the issue is, or knows an other way to solve my problem?

What is your main goal and why do you want to install all available bindings? There are like 200+ bindings for OH