Skip to main content

target-path

dbt_project.yml
target-path: directorypath

Definition

Optionally specify a custom directory where compiled files (e.g. compiled models and tests) will be written when you run the dbt run, dbt compile, or dbt test command.

Default

By default, dbt will write compiled files to the target directory, i.e. target-path: target

Examples

Specify subdirectory using the project config file

dbt_project.yml
target-path: "compiled_files"
0