Documentation menu

Commands

flog x

Execute a binary from the nearest installed node_modules/.bin.

Usage#

flog x [options] <binary> [arguments]

Examples#

With TypeScript installed as a project dependency:

flog x tsc --version
flog x --cwd packages/core tsc --noEmit

Options and behaviour#

Flog never downloads a missing binary or falls back to a global executable. Use --cwd <directory> to choose the package context.

Run flog help x for complete current help.

Scripts and binaries · Run