Link Search Menu Expand Document

shards

Dependency management tool for the Crystal language. More information: https://crystal-lang.org/reference/the_shards_command.

  • Create a skeleton shard.yml file:

shards init

  • Install dependencies from a shard.yml file:

shards install

  • Update all dependencies:

shards update

  • List all installed dependencies:

shards list

  • List version of dependency:

shards version {{path/to/dependency_directory}}