Install Plugin via Code

There is something wonderfull call wp-cli, that is wordpress from the terminal.
I dont know how it works on windows, but if it isnt possible to install on cmd or powershell, windows already have the ubuntu terminal, that is great for this kind of stuff.

e.g. to install iControlWP:

wp plugin install iControlWP 

simple as that!..

iControlWP is one plugin that do just that.