Setup fails curl not installed

Hi all, I’m installing Discourse in a newly boot up instance with Debian 10. Although this is not an issue for me, I think it could be an issue for most beginners as the installation says nothing about the need of curl or how to install it.

root@foro:/var/discourse# ./discourse-setup 
Docker not installed. Enter to install from or Ctrl+C to exit
./discourse-setup: line 129: curl: command not found
Docker install failed. Quitting.

Curl usually comes pre-installed in most debian based systems. However, some VPS providers do offer a ‘minimal’ image that doesn’t have curl installed.

It is as simple as sudo apt install curl to get this issue resolved.