Stacked LTS Versions

Can I execute the stack command to get a list of all the LTS versions installed by the stack on my system?

+5
source share
1 answer

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/ .

+5
source

Source: https://habr.com/ru/post/1269536/


All Articles