To install Dark Cubed on your USG or UDM, please SSH into your device and run the following commands.
$> cd ~
$> curl "https://downloads.a.darkcubed.net/dark-ubiquiti/d3_installer.sh" -o d3_installer.sh
NOTE: IF YOU ARE ON A USG, run sudo -s before running the installer
$> /bin/sh d3_installer.sh