List snap sizes

Snaps ate 3 Gb of space. I’d like to know what snaps exactly, and snap list in 2.35 doesn’t provide such option. Any other means to know them for each installed version?

Try:

$ du -hcs /var/lib/snapd/snaps/*

or:

ls -lh /var/lib/snapd/snaps/
1 Like

That works. I still prefer to use snap list --size option, or make list use a JMESPath template to choose column content.

2 Likes

With sorting by size.

du -hcs /var/lib/snapd/snaps/* | sort -h