Snap nextcloud: command not found


I’m using Debian buster. Yesterday I installed Nextcloud via snap. I saw this via Now I want to set up SSL with a Self-Signed Certificate in the terminal with the command sudo nextcloud.enable-https self-signed, but it says “Command not found”. I also tried it with “sudo nextcloud.enable-https”, bitv this also not worked. I can I solve this problem.` I thank you for your response!

Do you have the package sudo installed?
Install with:

apt-get install sudo

and try again.

Yes. I have