mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
537 B
Plaintext
30 lines
537 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|
|
|
|
- Display version of dependency:
|
|
|
|
`shards version {{path/to/dependency_directory}}`
|