A snap is a universal Linux package, Snaps work on any distribution or device. Snaps are faster to install, easier to create, safer to run, and they update automatically and transactionally so your app is always fresh and never broken.
The public collection of snaps includes the latest and best apps from GitHub and beyond, so you have the whole world of Linux apps at your fingertips.
Below are the steps to install
Step 1: Type below command
$ sudo apt update
Step 2: Install snapd
$ sudo apt install snapd