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.
How to use snaps from the command line
If you are running Ubuntu 16.04 LTS or later, you can already use snaps from the command line. Otherwise do not despair, we have instructions for multiple distros.
To list all snaps installed on your machine:
$ sudo snap list
To find a snap in the store:
$ sudo snap find <text to search>
To install a snap:
$ sudo snap install <snap name>
To update a snap:
$ sudo snap refresh <snap name>
To update all your snaps:
$ sudo snap refresh all
To revert a snap to the previously installed version:
$ sudo snap revert <snap name>
Or remove the snap:
$ sudo snap remove <snap name>
Creating a snap is easy!
Snaps have a very simple internal structure — you can easily craft them by hand! But the easiest way to build a snap is with snapcraft, which supports building from source and from existing packages. Snapcraft also handles publishing your snaps to the world. Read how to create a snap and join the snap crafting community — we have a fun crowd of people who hang out on Rocket Chat and on the snapcraft forum.