Arduino Command Line Interface - How to change boardsmanager.additional.urls
Found the solution:

arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json"