Search code examples
blockchainbitcoinmacos-big-sursolid-state-drive

Bitcoin Core on external SSD in OS X


I am in Mac OS X Big Sur and would like to run Bitcoin Core on an external SSD for the first time, to download the blockchain. According to instructions, the default location for the blockchain is /Users/${USER}/Library/Application Support/Bitcoin/. How do I change this, so the blockchain is stored in an external SSD? For example /Volumes/My SSD?


Solution

  • This is how. Assuming you are in /Users/{User}/Bitcoin where Bitcoin Core was compiled:
    ./src/bitcoind -datadir="/Volumes/My SSD/Bitcoin"