Where can I find the blockchain, wallet.dat, etc. on each of the operating systems Bitcoin-Qt supports?
-
I see questions which answer this for particular operating systems, but would like an answer to be able to point to that works for any supported OS.– Chris MooreCommented Jun 20, 2012 at 2:37
-
1bitcoin.stackexchange.com/q/1350/659 has the OSX path.– Chris MooreCommented Jun 20, 2012 at 2:54
-
This is not an exact duplicate, but asking about how to change the default storage location has been posted many, many times. The future canonical question is probably Bitcoin-Qt setup: Change block-chain file location, settings? documentation?.– Peter MortensenCommented Aug 1, 2014 at 12:37
-
To be fair I asked this almost a year before that other question was asked.– Chris MooreCommented Aug 1, 2014 at 17:06
-
Also the question you linked to doesn't have any information that answers my question. There's no mention on the MacOS path, for instance.– Chris MooreCommented Aug 1, 2014 at 17:10
4 Answers
It is the same data folder as the non-QT version of the standard client used to use:
Linux:
~/.bitcoin/
MacOS:
~/Library/Application Support/Bitcoin/
Windows:
%APPDATA%\Bitcoin
(This defaults to C:\Documents and Settings\YourUserName\Application data\Bitcoin
on Windows XP and to C:\Users\YourUserName\Appdata\Roaming\Bitcoin
on Windows Vista, 7, 8, and 10.)
-
1
-
Also have English version and no Bitcoin folder there Commented Mar 20, 2016 at 10:19
-
1It might be worth noting that it is also possible to specify a custom data directory, using the -datadir=<path-to-folder> option from command line. This actually allows to have multiple running instances of bitcoin: you just need to run bitcoind/bitcoin-qt twice, specifying two different data folders.– FedFranzCommented Oct 24, 2017 at 16:36
On the new Mac OS X you can't see the Bitcoin folder in the library under /application support/. You have to use Finder and in the menu look for GO and then GO TO type ~/Library
in the box. After that you can see the Bitcoin folder under /application support/.
Or you can hold down the Option key while selecting the Go menu and Library will become an option.
On windows8, the data folder is here:
C:\Users\ ... your user name ...\AppData\Roaming\Bitcoin\
-
1
-
I also have Windows 7 and no Bitcoin folder there Commented Mar 20, 2016 at 10:20
@ThePiachu is right
Linux:
~/.bitcoin/
macOS:
~/Library/Application Support/Bitcoin/
Windows:
%APPDATA%\Bitcoin
But since there are no instructions, it may be hard for a user to find them, so I'm going to add instructions.
macOS
1) Click the Finder symbol
2) Press command (cmd) ⌘ + option (alt) ⌥ + G at the same time.
3) Paste this into the window that opens:
~/Library/Application Support/Bitcoin/
4) Press "Go"
5) That's your Bitcoin folder!
Windows
1) Choose one of your folders, and open it (we won't do anything with the folder, so it doesn't matter if it's very important for you).
2) Click the folder icon next to the file location.
3) Paste the following:
%APPDATA%\Bitcoin
4) Press Enter ⏎
5) That's your Bitcoin folder!