To easily install Crystal on Mac you can use Homebrew.
brew update
brew install crystal
If you get an error like:
ld: library not found for -levent
you need to reinstall the command line tools and then select the default active toolchain:
$ xcode-select --install
$ xcode-select --switch /Library/Developer/CommandLineTools