Skip to content

Instantly share code, notes, and snippets.

@thalesmg
Created October 20, 2022 21:01
Show Gist options
  • Save thalesmg/1ce5a0b52050577a490285a2db2ac935 to your computer and use it in GitHub Desktop.
Save thalesmg/1ce5a0b52050577a490285a2db2ac935 to your computer and use it in GitHub Desktop.
Find latest avaiable Haskell Stack snapshot (LTS)
stack ls snapshots -l remote | rg -o 'lts-[0-9]+\.[0-9]+' | sort -rn | head -n1
stack ls snapshots -l remote | grep -Eo 'lts-[0-9]+\.[0-9]+' | sort -rn | head -n1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment