Snap can be installed on elementary OS from the command line. Open Terminal from the Applications launcher and type the following:
$ sudo apt update $ sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To test your system, install the hello-world snap and make sure it runs correctly:
$ sudo snap install hello-world hello-world 6.3 from Canonical✓ installed $ hello-world Hello World!
Snap is now installed and ready to go! If you’re using a desktop, a great next step is to install the Snap Store app.