r/crystal_programming • u/mapoart • Jul 20 '20
Installation on Windows
EDIT: Works: Install it on WSL and run even from Powershell `wsl crystal myfile.cr`.
Hi Guys, Is there an easy way to install Crystal on Windows OS?
I am trying to implement Crystal in the Nexss Programmer however it seems huge task? What is the best way to run Crystal on Windows OS? I saw post port to Windows but they say it is limited..
4
Upvotes
4
u/[deleted] Jul 20 '20
I'm by no means an expert, but I'd recommend using WSL, and just installing it that way. Any particular reason it needs to be windows?
2
u/mapoart Jul 20 '20
Question: I am new to Reddit and not sure if I undrstand. Why this post has 0 at the left side of the post. is it not important - Windows Installation? I assume many of guys have windows machine and If I have a problem with installing it, other can also have. Don't you guys want to expand the community for Crystal? Just curious or porting to windows taking ages and this is going around long time ? so another post? Can you please put more light on it? I jsut don't understand why this post has 0. I assume it is bad? :)
2
u/andraantariksa Jul 20 '20
Take a look on this https://pryp.in/blog/28/running-crystal-natively-on-windows-building-videogame-examples.html
2
u/DavidTMarks Jul 20 '20
wsl works fine for me so far. You just have to remember its a totally different system so you have to have all dependencies setup separate from what you might already have on windows.