snow dbt execute commands

The snow dbt execute command executes one of the following dbt commands on Snowflake:

For more information about using dbt commands, see the dbt Command reference.

Note

To use the --dbt-version option in Snowflake CLI version 3.15.0, you must enable the SNOWFLAKE_CLI_FEATURES_ENABLE_DBT_VERSION feature flag, using either of the following methods:

  • Set the SNOWFLAKE_CLI_FEATURES_ENABLE_DBT_VERSION environment variable to true before running the command.

  • Set the enable_dbt_version configuration option to true in the config.toml file, as shown in the following example:

    [features]
    enable_dbt_version = true
    
    Copy