Snap nextcloud: command not found

Hello,

I’m using Debian buster. Yesterday I installed Nextcloud via snap. I saw this via https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-18-04. 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