![Forrest logo](/images/logo.png)
shards:tldr:62f6c
The command "shards version ${path-to-dependency_directory}" is related to the Crystal programming language and its package manager called Shards.
Shards is a tool used to manage dependencies in Crystal projects. When you create a Crystal project, you can specify the dependencies required by your project. Shards then fetches and organizes these dependencies for you.
The "shards version" command is used to display the version of a specific dependency installed in your project. It is followed by the path to the dependency directory. The path should be replaced with the actual path to the directory where the dependency is installed.
For example, if you have a dependency called "my_dependency" installed in the "lib" directory of your project, you would run the following command to check its version:
shards version lib/my_dependency
This command will output the version of the specified dependency installed in your Crystal project.