Show CPU arch in `snap version`

Many projects in the snap ecosystem ask to attach the output of snap version to issues, as it’s a great way to have a quick overview of host and snapd versions.

However, this output doesn’t include CPU architecture version. This info is very helpful, however, as some bugs might be architecture- specific.

Is it possible to add information about the CPU architecture to the snap version command?


In the short term, when asking for system details, maybe we could just change snap version to arch && snap version (although pointless on the PC I’m currently sat at because WSL tells you the arch in the kernel line).

alan@DESKTOP-DDU38TO:~$ arch && snap version
snap                         2.57.5+22.04
snapd                        unavailable
series                       16
Windows Subsystem for Linux  -
kernel              (amd64)
1 Like