'\" t .\" Title: crystal-init .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.26 .\" Date: 2026-07-23 .\" Manual: Crystal Compiler Command Line Reference Guide .\" Source: crystal 1.21.0 .\" Language: English .\" .TH "CRYSTAL\-INIT" "1" "2026-07-23" "crystal 1.21.0" "Crystal Compiler Command Line Reference Guide" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" crystal-init \- Create a a new Crystal project .SH "SYNOPSIS" .sp \fBcrystal init\fP TYPE [DIR | NAME DIR] .SH "DESCRIPTION" .sp TYPE is one of: .sp \fBlib\fP Creates a library skeleton .br \fBapp\fP Creates an application skeleton .sp This initializes the lib/app project folder as a git repository, with a license file, a README file, a shard.yml for use with shards (the Crystal dependency manager), a .gitignore file, and src and spec folders. .sp DIR \- directory where project will be generated .sp NAME \- name of project to be generated (default: basename of DIR) .SH "OPTIONS" .sp \fB\-f, \-\-force\fP .RS 4 Force overwrite existing files. .RE .sp \fB\-s, \-\-skip\-existing\fP .RS 4 Skip existing files. .RE