Skip to content

Conversation

@kalluripradeep
Copy link

What?

Adds a line to the dbt init output instructing users to change directories to their newly created project before running dbt debug.

Why?

Users were confused when dbt debug failed after running dbt init because they weren't in the project directory. This simple instruction helps prevent that confusion.

Fixes #9041

Changes

  • Modified ProjectCreated event message in core/dbt/events/types.py
  • Added: p.s. change directories to "{project_name}" to use this project

Example Output

After this change, when running dbt init, users will see:

Your new dbt project "my_project" was created!
For more information on how to configure the profiles.yml file,
please consult the dbt documentation here:
https://docs.getdbt.com/docs/configure-your-profile
One more thing:
Need help? Don't hesitate to reach out to us via GitHub issues or on Slack:
https://community.getdbt.com/
Happy modeling!
p.s. change directories to "my_project" to use this project

Testing

  • Tested locally by running dbt init and verifying the new message appears
  • Confirmed message format matches the acceptance criteria from the issue

Checklist

  • I have read the contributing guide
  • I have signed the CLA
  • I have added a changelog entry
  • This PR includes only the dbt init instruction change

Fixes dbt-labs#9041 - Adds a line instructing users to cd into the newly created project directory
@kalluripradeep kalluripradeep requested a review from a team as a code owner November 28, 2025 21:15
@cla-bot cla-bot bot added the cla:yes label Nov 28, 2025
@github-actions github-actions bot added the community This PR is from a community member label Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla:yes community This PR is from a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CT-3363] [Feature] interactive dbt init flow's instructions don't results in a successful dbt debug, because you need to enter the new subdirectory

1 participant