Not sure about the stack command, but you can do it with the bash command:
$ ls ~/.stack/snapshots/x86_64-linux/
For me, he prints:
lts-8.13 lts-8.15 lts-8.17 lts-8.21 lts-8.3
Instead of x86_64-linux should be your arch. But you do not need to remember this. Just press TAB after snapshots/ .
source share