- Home
- Package Managers
- Shards
On the recordRead 11 Oct 202630 facts
Shards
On the record
- Authorship
- The shard.yml documentation credits Julien Portalier and the Crystal project as authors.github.com · read 11 Oct 2026
- Build behavior
- The build command ensures dependencies are installed and delegates build options to crystal build.crystal-lang.org · read 11 Oct 2026
- Build requirements
- The repository lists Crystal and libyaml as requirements for compiling Shards.github.com · read 11 Oct 2026
- Commands
- The documented commands include build, check, init, install, list, prune, update, and version.crystal-lang.org · read 11 Oct 2026
- Dependency installation
- The `shards install` command installs dependencies and records them in shard.lock for reproducible installations across computers.github.com · read 11 Oct 2026
- Dependency resolution
- Yesgithub.com · read 21 Sep 2026
- Dependency sources
- The README shows dependencies fetched from Git repositories, including GitHub repositories.github.com · read 11 Oct 2026
- Development dependencies
- Development dependencies are installed for the project itself and are not installed when its library is used as another project's dependency.github.com · read 11 Oct 2026
- Discovery model
- The Crystal community page describes Shards as a decentralized dependency system with no central registry.crystal-lang.org · read 11 Oct 2026
- Distribution
- Shards is usually distributed with Crystal, and a separate shards package may be available for a user's system.github.com · read 11 Oct 2026
- Install options
- Shards is usually distributed with Crystal, including through Homebrew and Debian packages; source tarballs can also be built and installed.github.com · read 11 Oct 2026
- Intended users
- The project README describes its use for Crystal applications and libraries.github.com · read 11 Oct 2026
- License
- The repository states that Shards is licensed under Apache License, Version 2.0.github.com · read 11 Oct 2026
- Lockfile
- shards install writes locked dependency versions to shard.lock so subsequent installs can use the same versions across computers.github.com · read 11 Oct 2026
- Lockfile support
- Yesgithub.com · read 21 Sep 2026
- Overrides
- A shard.override.yml file can override dependency sources and version restrictions, and its location can be configured with SHARDS_OVERRIDE.crystal-lang.org · read 11 Oct 2026
- Package formats
- Crystal shards defined in shard.ymlgithub.com · read 21 Sep 2026
- Platform notes
- The installation instructions mention Debian or Ubuntu Linux and Mac OS X, and say a shards package may be available for a user's system.github.com · read 11 Oct 2026