Please note that commands in the instructions for downloading the
lego client are meant to be executed separately, one line at a time. Based on your screenshot screenshot, it seems there was some issue pasting the command.
As you can see in the screenshot, the download command creates a file named
2.4.0 is the latest available version for the
lego client. You would need to extract it using this command:
tar xf lego_v2.4.0_linux_amd64.tar.gz
Then the command to move it to the right location should work:
sudo mv lego /usr/local/bin/lego
Please let me know if the above addresses your issue.