Here is a link to the bash-script to configure apt repository for Earthly . The script is available as a GitHub Gist. Hence, you are requested to open the link to the bash-script and download the script (or, copy-paste the raw content into a file using a text-editor) to use it directly from your Debian-based system such as Debian, Ubuntu or LinuxMint (including LMDE).

The script will setup the proper apt repository configuration file under /etc/apt/sources.list.d and installs earthly. It will also try to use podman to bootstrap earthly, if podman is already installed.

Prerequisites

The script should be run using an administrator account (i.e., with sudo access).