<p>Bitcoin.conf usually arent come with it so you have to make one manually by making a file and naming it <code>bitcoin.conf</code></p>

<p>After you made it, you can use the link below to use the configuration as template</p>

<p><a href="https://github.com/bitcoin/bitcoin/blob/master/contrib/debian/examples/bitcoin.conf" rel="nofollow noreferrer">LINK</a></p>

<p>Hope the answer above is what your looking for</p>

CC BY-SA 3.0
2018-01-22T22:23:30.163Z
I never installed bitcoin core on Mac so I'm not fully sure but anyway, when you run bitcoin core as first time, it will ask you where to have the data directory located and if you choose the first option then it will save it to the default located overwise it will saved on where you choose it should be
zhiyan114
CC BY-SA 3.0
2018-01-23T02:01:34.350Z
I know where the data directory is located and it contain wallet.dat ... but not bitcoin.conf
skyde
CC BY-SA 3.0
2018-01-23T02:30:07.257Z
Ohh next time, please ask your question clear and not just on the title
zhiyan114
CC BY-SA 3.0
2018-01-23T02:30:29.343Z
Use the new answer i provided
zhiyan114
CC BY-SA 3.0
2018-01-23T16:13:06.943Z
my data folder is not located under ~/Library/Application Support/Bitcoin/ does that mean I should create the bitcoin.conf in this path or the data folder path?
skyde
CC BY-SA 3.0
2018-01-23T22:09:54.700Z
Create a file named bitcoin.conf on where the bitcoin data directory is
zhiyan114
CC BY-SA 3.0
2018-01-22T22:18:40.777Z
2018-01-23T02:38:01.947Z
2018-01-23T02:38:01.947Z
zhiyan114
<p>by default it goes into the path that you described. If the path was changed, then a search in finder can help. However: search in finder doesn't look into every directory. Try to search for filenames "wallet.dat" or "mempool.dat". Also press the left ALT key, and chose "go to", and select library. Then again do the search in finder. Only then my location was found with the mentioned files. If this doesn't help, open a terminal, and try this:</p>

<pre><code>cd /Users
find . -type f -name wallet.dat
</code></pre>

<p>there might be many Permission denied messages, but it would show, if file was found. If not, there is simply no message. If this still doesn't help, go another directory up ("cd /"), and try again. Time to search will massivly increase then... </p>

CC BY-SA 3.0
2018-01-22T23:39:46.873Z
2018-01-22T23:39:46.873Z
pebwindkraft
<p>Running the Bitcoin core software the first time should create that directory, but then that also loads the mainnet as default. If you don't want that, then you must first manually create the directory and then the Bitcoin.conf file before running the software</p>
<p>i.e</p>
<p><code>mkdir  $HOME/Library/Application\ Support/Bitcoin</code></p>
<p><code>vi $HOME/Library/Application\ Support/Bitcoin/Bitcoin.conf</code></p>
<p>Next proceed to open the file and set</p>
<pre><code>testnet=1
</code></pre>
<p>Now run the bitcoin core software to see its now reading from testnet</p>

CC BY-SA 4.0
2021-08-10T10:11:56.067Z
2021-08-10T10:11:56.067Z
Edwin O.
<p>After doing some research it is supposed to be under ~/Library/Application Support/Bitcoin/</p>

<p>But on my computer there is no Bitcoin.conf under ~/Library/Application Support/Bitcoin !</p>

<p>So where do I find Bitcoin.conf?</p>

<bitcoin-core><bitcoind><mac><bitcoin.conf>
Where is bitcoin.conf location on MacOS with Bitcoin core v0.15.1
skyde
# Where is bitcoin.conf location on MacOS with Bitcoin core v0.15.1

(Asked by: username_0 on 2018-01-22)

After doing some research it is supposed to be under ~/Library/Application Support/Bitcoin/

But on my computer there is no Bitcoin.conf under ~/Library/Application Support/Bitcoin !

So where do I find Bitcoin.conf?

**Tags:** bitcoin-core, bitcoind, mac, bitcoin.conf


---

## 3 answers

### Answer by username_1 on 2018-01-22. Score: 1 | Accepted answer

Bitcoin.conf usually arent come with it so you have to make one manually by making a file and naming it `bitcoin.conf`

After you made it, you can use the link below to use the configuration as template

[LINK](https://github.com/bitcoin/bitcoin/blob/master/contrib/debian/examples/bitcoin.conf)

Hope the answer above is what your looking for

> **Comments:**
> **username_1**: I never installed bitcoin core on Mac so I'm not fully sure but anyway, when you run bitcoin core as first time, it will ask you where to have the data directory located and if you choose the first option then it will save it to the default located overwise it will saved on where you choose it should be  
> **username_0**: I know where the data directory is located and it contain wallet.dat ... but not bitcoin.conf  
> **username_1**: Ohh next time, please ask your question clear and not just on the title  
> **username_1**: Use the new answer i provided  
> **username_0**: my data folder is not located under ~/Library/Application Support/Bitcoin/ does that mean I should create the bitcoin.conf in this path or the data folder path?  
> **username_1**: Create a file named bitcoin.conf on where the bitcoin data directory is  

---

### Answer by username_2 on 2018-01-22. Score: 0

by default it goes into the path that you described. If the path was changed, then a search in finder can help. However: search in finder doesn't look into every directory. Try to search for filenames "wallet.dat" or "mempool.dat". Also press the left ALT key, and chose "go to", and select library. Then again do the search in finder. Only then my location was found with the mentioned files. If this doesn't help, open a terminal, and try this:

```
cd /Users
find . -type f -name wallet.dat

```

there might be many Permission denied messages, but it would show, if file was found. If not, there is simply no message. If this still doesn't help, go another directory up ("cd /"), and try again. Time to search will massivly increase then...


---

### Answer by username_3 on 2021-08-10. Score: 0

Running the Bitcoin core software the first time should create that directory, but then that also loads the mainnet as default. If you don't want that, then you must first manually create the directory and then the Bitcoin.conf file before running the software

i.e

`mkdir $HOME/Library/Application\ Support/Bitcoin`

`vi $HOME/Library/Application\ Support/Bitcoin/Bitcoin.conf`

Next proceed to open the file and set

```
testnet=1

```

Now run the bitcoin core software to see its now reading from testnet


---

