Skip to main content

baml.cliPath

TypeDefault
string | nullnull

If set, all generated code will use this path instead of the packaged generator shipped with the extension.

Recommended

This prevents mismatches between the VSCode Extension and the installed BAML package.

Usage​

Find your BAML CLI path:

# Unix/macOS
which baml-cli

# Windows
where baml-cli

Configure in settings.json:

{
"baml.cliPath": "/path/to/baml-cli"
}

See Also​