When using a Debian-based distro, you can do
sudo apt-get update
sudo apt-get install curl
When using macOS, it is advised to use HomeBrew or MacPorts to install
curl, if it is not yet installed.
curl should be included by default in newer versions of Windows (10+).