home | help
CRYSTAL-INIT(1)   Crystal Compiler Command Line Reference Guide  CRYSTAL-INIT(1)

NAME
     crystal-init - Create a a new Crystal project

SYNOPSIS
     crystal init TYPE [DIR | NAME DIR]

DESCRIPTION
     TYPE is one of:

     lib  Creates a library skeleton
     app  Creates an application skeleton

     This initializes the lib/app project folder as a git repository, with a li-
     cense file, a README file, a shard.yml for use with shards (the Crystal de-
     pendency manager), a .gitignore file, and src and spec folders.

     DIR  - directory where project will be generated

     NAME - name of project to be generated (default: basename of DIR)

OPTIONS
     -f, --force
	 Force overwrite existing files.

     -s, --skip-existing
	 Skip existing files.

crystal 1.21.0			   2026-07-16			 CRYSTAL-INIT(1)

home | help