Giter Club home page Giter Club logo

scoop-crystal's Introduction

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/Epikest/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

scoop-crystal's People

Contributors

epikest avatar github-actions[bot] avatar neatorobito avatar oprypin avatar straight-shoota avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.