GitXplorerGitXplorer
n

scoop-crystal

public
31 stars
5 forks
2 issues

Commits

List of commits on branch main.
Unverified
c657bf8911b6116fc5a9f4862713719b634a16ba

Update mainline version

ggithub-actions[bot] committed 4 days ago
Unverified
b0ea56557756bb9742d519451c1dbc71b424029b

Update mainline version

ggithub-actions[bot] committed 7 days ago
Unverified
481137b763aa6fa5174729947aa7a783b27cc787

Update mainline version

ggithub-actions[bot] committed 8 days ago
Verified
4d11ba4853a452a48329bc444ba70d5b6cd94a2b

Merge pull request #36 from lachlan/patch-1

ooprypin committed 9 days ago
Verified
e95242c862b528fc64fff98210a6fb466e8b6ffd

Fix crystal@1.14.1 hash check

llachlan committed 9 days ago
Unverified
2a48c125ff690bf0656108c85a0d7f7aace099e8

Update mainline version

ggithub-actions[bot] committed 10 days ago

README

The README file for this repository.

Crystal for Windows Preview

This repo provides an official way to try the Crystal programming language on Windows.

Getting started

Requirements

  1. Enable developer mode in Settings.
  2. Scoop package manager
  3. Visual Studio or Visual Studio Build Tools with Microsoft.VisualStudio.Workload.VCTools and Microsoft.VisualStudio.Component.VC.ATL components.
    • If you already have an existing Visual Studio installation (2017 or later), open the installer and simply select these components under Desktop Development.
    • Otherwise you can install a smaller subset of Visual Studio with only the tools you need from this bucket, see below.

Instructions

  1. scoop install git

  2. scoop bucket add crystal-preview https://github.com/neatorobito/scoop-crystal

    • If you don't already have the correct Visual Studio components discussed earlier, run scoop install vs_2022_cpp_build_tools. The Visual Studio Installer UI will open to display progress. If you see ERROR Exit code was 3010!, this simply means you need to reboot. Run the same command again and reboot.
  3. scoop install crystal

Create a file called hello.cr with the editor of your choice:

puts "Hello from Windows!"

Restart your terminal and voila!

image

Working/Not Working

The majority of the language is available and functional on Windows with the exception of multi-threading and signals.

Keep in mind, however, that Crystal for Windows is still under development and so you may encounter some issues. Please file bugs for any issues you encounter on the Crystal repo page. For more in-depth information and the current status of the Windows port, see #5430 Coordinate porting to Windows