Hacker News new | ask | show | jobs
by beta-ziliani 1385 days ago
It just requires the build tools. If you use scoop, that entails to:

> run `scoop install vs_2022_cpp_build_tools`

(from the "required libraries" link in https://crystal-lang.org/install/on_windows/)

1 comments

That just installs Visual Studio:

https://github.com/neatorobito/scoop-crystal/blob/main/bucke...

no thank you.

This specifically installs the Visual C++ Compiler and the Windows headers so that you can get a command prompt with all that in your PATH. It is not a full-fat VS install. The difference is something like 20-30GBs for the full VS install vs 1-2GB for these specific components.
Meanwhile, LLVM-MinGW is 108 MB:

https://github.com/mstorsjo/llvm-mingw/releases

now you are just arguing for the sake of argument. unzip the file and it will expand to a 400MB folder.
Have you ever installed Visual Studio? I have. Even just the build tools DOWNLOADS 1-2 GB, as other user mentioned, which is still 10 times what you get with other options.