the shorter form of these commands (if you already have snapcraft installed) is:
sudo snap refresh --channel=6.x/stable snapcraft --classic
the shorter form of these commands (if you already have snapcraft installed) is:
sudo snap refresh --channel=6.x/stable snapcraft --classic