Skip to content

yarn bin

get the path to a binary script

Terminal window
yarn bin [name]

List all the available binaries :

Terminal window
yarn bin

Print the path to a specific binary :

Terminal window
yarn bin eslint

When used without arguments, this command will print the list of all the binaries available in the current workspace. Adding the -v,--verbose flag will cause the output to contain both the binary name and the locator of the package that provides the binary.

When an argument is specified, this command will just print the path to the binary on the standard output and exit. Note that the reported path may be stored within a zip archive.

DefinitionDescription

-v,—verbose

Print both the binary name and the locator of the package that provides the binary

—json

Format the output as an NDJSON stream