sudo ngrok service install --config /etc/ngrok.yml

Category: Local Network & Public Hosting

sudo ngrok service install --config /etc/ngrok.yml

Install ngrok as a background system service

This creates a systemd unit that runs ngrok in the background and restarts it on boot, with tunnels taken from the config file. The --config flag points the service at a system-wide config instead of the user one. Manage it like any service with systemctl start and status.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.