list all snap packages code example
Example: snap list installed
$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.35.1 5419 beta canonical✓ core
spotify 1.0.88.353 19 stable spotify✓ -
vlc 3.0.4 555 stable videolan✓ -