crystal
Tool for managing Crystal source code. More information: https://crystal-lang.org/reference/using_the_compiler.
-
Run a Crystal file:
crystal {{path/to/file.cr}}
-
Compile a file and all dependencies to a single executable:
crystal build {{path/to/file.cr}}
-
Start a local interactive server for testing the language:
crystal play
-
Create a project directory for a Crystal application:
crystal init app {{application_name}}
-
Display all help options:
crystal help
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.