yarn bin — Yarn CLI reference

Print the path of an accessible binary

Docs/Reference/CLI/bin

yarn bin

Print the path of an accessible binary

yarn bin <NAME>

This command prints the path to a binary exposed by one of the current workspace’s direct dependencies, or by the workspace’s own bin field, then exits. The reported path may point inside a zip archive.

Examples#

Print the path to a specific binary

yarn bin eslint