<p>If you can't locate the config file, you can try to launch the client from the terminal window.  Go to the folder where the executable is installed, and launch with <code>./bitcoind --prune=550</code>.  All other settings will come from the default .conf file.</p>

CC BY-SA 4.0
2018-08-14T15:31:43.440Z
thanks, but if prune needs to be supplied via command flag, how do i know the other settings are used from config ?
Sonic Soul
CC BY-SA 4.0
2018-08-14T18:44:01.540Z
It doesn't "need" to be supplied there, but it's an option.  And I believe that once you set it to prune, it has to keep pruning going forward.  I've never tested this.  If you prune and then start without prune, does it keep pruning?  I don't know.
Zelgada
CC BY-SA 4.0
2018-08-14T14:03:58.390Z
2018-08-14T14:03:58.390Z
Zelgada
<p>Yes you can run in prune mode, set prune=550 (or a number >=550, which is a size in MB). As blocks are downloaded others will be pruned to free up space as needed so you'll be fine with 17GB.</p>

<p>You can set the prune values in bitcoin.conf or as a startup parameter.</p>

<p>More details here <a href="https://coinguides.org/bitcoin-blockchain-pruning/" rel="nofollow noreferrer">https://coinguides.org/bitcoin-blockchain-pruning/</a></p>

CC BY-SA 4.0
2018-08-13T20:47:48.330Z
not having much luck. according to https://coinguides.org/bitcoin-blockchain-pruning/ the configuration file on a mach is supposed to be here: 

> $HOME/Library/Application Support/Bitcoin/

but /Bitcoin folder was not created.  Would I need to install the bitcoin wallet first ? I just downloaded Bitcoin Core. Seems all these help pages are for the wallet
Sonic Soul
CC BY-SA 4.0
2018-08-14T00:37:58.253Z
You downloaded Bitcoin Core for mac and installed it? Maybe say what steps you've done or share screen shots, etc. Maybe check in /Users/<your user name/Library/Application Support/Bitcoin or use Spotlight search.
Fraggle
CC BY-SA 4.0
2018-08-14T12:51:51.527Z
updated my question with latest state please take a look
Sonic Soul
CC BY-SA 4.0
2018-08-30T00:59:46.940Z
You have a bitcoin.conf file in the file listing. That is the configuration file. Did you edit it manually at all? Maybe something is wrong with it. Not sure about that error you show. How are you starting bitcoin? You could try posting the bitcoin.conf file (blank out any passwords or IP addresses, etc).
Fraggle
CC BY-SA 4.0
2018-08-30T11:42:05.047Z
not sure, it was acting weird on Mac :/ i have since created a droplet on Digital Ocean and did this on Ubuntu and it was a more straight forward process for me
Sonic Soul
CC BY-SA 4.0
2018-08-12T20:48:12.847Z
2018-08-12T20:48:12.847Z
Fraggle
<p>I want to play around with code to learn about Bitcoin such as synchronizing the chain locally, verifying the Merkle tree, creating a new wallet programmatically. </p>

<p>from what i've researched I will need to prune the initial blockchain, but i don't see the option in setup. </p>

<p><a href="https://i.sstatic.net/VvrgT.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VvrgT.png" alt="enter image description here"></a></p>

<p>is there some other way i can install it [with prune] given my low available storage? </p>

<p><strong>update</strong> </p>

<p>i pressed ok, and added the config file afterwards. </p>

<p>I am not sure if this config is used, and the GUI is giving me an error when i try to open it. </p>

<p><a href="https://i.sstatic.net/MhKSd.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/MhKSd.png" alt="enter image description here"></a></p>

<p><a href="https://i.sstatic.net/3gg1D.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3gg1D.png" alt="enter image description here"></a></p>

<p><a href="https://i.sstatic.net/IMc7T.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IMc7T.png" alt="enter image description here"></a></p>

CC BY-SA 4.0
2018-08-13T14:19:38.120Z
@Cluster2k i guess i should have mentioned why i am installing this. I want to play around with code to learn some things like synchronizing the chain locally, verifying the Merkle tree, creating a new wallet programmatically. 

I simply don't have anywhere near the 200GB of space on my laptop it is askingn me for :(
Sonic Soul
<bitcoin-core>
Bitcoin core setup how to prune without downloading?
Sonic Soul
# Bitcoin core setup how to prune without downloading?

(Asked by: username_0 on 2018-08-12)

I want to play around with code to learn about Bitcoin such as synchronizing the chain locally, verifying the Merkle tree, creating a new wallet programmatically.

from what i've researched I will need to prune the initial blockchain, but i don't see the option in setup.

[![enter image description here](https://i.sstatic.net/VvrgT.png)](https://i.sstatic.net/VvrgT.png)

is there some other way i can install it [with prune] given my low available storage?

**update**

i pressed ok, and added the config file afterwards.

I am not sure if this config is used, and the GUI is giving me an error when i try to open it.

[![enter image description here](https://i.sstatic.net/MhKSd.png)](https://i.sstatic.net/MhKSd.png)

[![enter image description here](https://i.sstatic.net/3gg1D.png)](https://i.sstatic.net/3gg1D.png)

[![enter image description here](https://i.sstatic.net/IMc7T.png)](https://i.sstatic.net/IMc7T.png)

**Tags:** bitcoin-core

> **Comments:**
> **username_0**: @Cluster2k i guess i should have mentioned why i am installing this. I want to play around with code to learn some things like synchronizing the chain locally, verifying the Merkle tree, creating a new wallet programmatically.   I simply don't have anywhere near the 200GB of space on my laptop it is askingn me for :(  

---

## 2 answers

### Answer by username_2 on 2018-08-12. Score: 4 | Accepted answer

Yes you can run in prune mode, set prune=550 (or a number >=550, which is a size in MB). As blocks are downloaded others will be pruned to free up space as needed so you'll be fine with 17GB.

You can set the prune values in bitcoin.conf or as a startup parameter.

More details here <https://coinguides.org/bitcoin-blockchain-pruning/>

> **Comments:**
> **username_0**: not having much luck. according to https://coinguides.org/bitcoin-blockchain-pruning/ the configuration file on a mach is supposed to be here:   > $HOME/Library/Application Support/Bitcoin/  but /Bitcoin folder was not created.  Would I need to install the bitcoin wallet first ? I just downloaded Bitcoin Core. Seems all these help pages are for the wallet  
> **username_2**: You downloaded Bitcoin Core for mac and installed it? Maybe say what steps you've done or share screen shots, etc. Maybe check in /Users/<your user name/Library/Application Support/Bitcoin or use Spotlight search.  
> **username_0**: updated my question with latest state please take a look  
> **username_2**: You have a bitcoin.conf file in the file listing. That is the configuration file. Did you edit it manually at all? Maybe something is wrong with it. Not sure about that error you show. How are you starting bitcoin? You could try posting the bitcoin.conf file (blank out any passwords or IP addresses, etc).  
> **username_0**: not sure, it was acting weird on Mac :/ i have since created a droplet on Digital Ocean and did this on Ubuntu and it was a more straight forward process for me  

---

### Answer by username_1 on 2018-08-14. Score: 0

If you can't locate the config file, you can try to launch the client from the terminal window. Go to the folder where the executable is installed, and launch with `./bitcoind --prune=550`. All other settings will come from the default .conf file.

> **Comments:**
> **username_0**: thanks, but if prune needs to be supplied via command flag, how do i know the other settings are used from config ?  
> **username_1**: It doesn't "need" to be supplied there, but it's an option.  And I believe that once you set it to prune, it has to keep pruning going forward.  I've never tested this.  If you prune and then start without prune, does it keep pruning?  I don't know.  

---

