# \--profile in \`dbt init\` command being ignored

**URL:** <https://discourse.getdbt.com/t/profile-in-dbt-init-command-being-ignored/5142>\
**Category:** Help\
**Created:** [October 20, 2022, 3:16pm UTC](https://discourse.getdbt.com/t/profile-in-dbt-init-command-being-ignored/5142 "2022-10-20T15:16:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuel.cheah](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/samuel.cheah/32/1263_2.png) [@samuel.cheah](https://discourse.getdbt.com/u/samuel.cheah)\
**Post date:** [October 20, 2022, 3:16pm UTC](https://discourse.getdbt.com/t/profile-in-dbt-init-command-being-ignored/5142/1 "2022-10-20T15:16:48Z")

</div>

Hi there,

I am trying to create a dbt project using an existing profile `default` that is already defined in `profiles.yml`. Running dbt init --help shows this “–profile PROFILE Which profile to load. Overrides setting in dbt\_project.yml.”, so accordingly I ran this command to create a new project “proj1” using my `default` profile.

```auto
dbt init --profile default proj1

```

Expected behaviour:  
proj1 created with `dbt_project.yml` showing `profile: 'default'`

Actual behaviour:  
proj1 created with `dbt_project.yml` showing `profile: 'proj1'` which is the default name for a new profile.

What am I doing wrong?

Thanks in advance for any help.

---

<div class="post-metadata">

**Author:** ![joellabes](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/joellabes/32/3980_2.png) [@joellabes](https://discourse.getdbt.com/u/joellabes)\
**Post date:** [October 27, 2022, 10:08am UTC](https://discourse.getdbt.com/t/profile-in-dbt-init-command-being-ignored/5142/2 "2022-10-27T10:08:00Z")

</div>

I see you’ve made an issue: [[CT-1418] [Bug] CLI argument `--profile` ignored in `dbt init` · Issue #6154 · dbt-labs/dbt-core · GitHub](https://github.com/dbt-labs/dbt-core/issues/6154)

This feels like the right place for that to be handled so I’m going to close this. Sorry for the delay in getting back to you!

---

<div class="post-metadata">

**Author:** ![joellabes](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/joellabes/32/3980_2.png) [@joellabes](https://discourse.getdbt.com/u/joellabes)\
**Post date:** [October 27, 2022, 10:08am UTC](https://discourse.getdbt.com/t/profile-in-dbt-init-command-being-ignored/5142/3 "2022-10-27T10:08:08Z")

</div>


