How do I install snap to Debian 10?

apt update
apt install snapd
snap install core

snapcraft.io/docs/installing-snap-on-debian