How To Start Diode CLI at Boot With Apple Mac

In this tutorial we install the Diode CLI so that it will run silently at boot on a Mac OS computer.

By running the Diode CLI at boot, the computer can publish certain network resources securely (via the Diode Network) so that they can be accessed remotely.

1. Configure the Automator application to run the Diode CLI in a shell script

source ~/.bash_profile

diode publish -public 80:80

2. Configure the automator app to run on startup

3. Verify it is running