Using APT
- Update the package index
sudo apt update - Install the Snap package manager immediately
sudo apt install snapd - To test your system, install the hello-world snap and make sure it runs correctly
sudo snap install hello-worldhello-world 6.4 from Canonical✓ installed - Run the hello-world app
hello-worldHello World!
Snap has been successfully installed and is ready to use! If you're using a desktop, a good next step is to install the Snap Store app.