Forrest logo
back to the shards tool

shards:tldr:62f6c

shards: List version of dependency.
$ shards version ${path-to-dependency_directory}
try on your machine

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.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the shards tool