How do I upgrade my Bitcoin client?

14

I am working with an older version of Bitcoin and want to upgrade to version .4. Is there a specific way to do this? I want to try to upgrade, but am paranoid that I could lose my wallet if I do something wrong.

Canen

Posted 2011-09-24T01:36:46.550

Reputation: 143

1Which operating system are you using?blunders 2011-09-24T01:44:18.433

3

Make sure to download the client securely: http://bitcoin.stackexchange.com/questions/565/how-can-one-download-the-bitcoin-client-securely

ripper234 2011-09-24T05:04:30.190

Personally I am using a Mac but I would like to know how to do it on a Windows also because my parents use it there.Canen 2011-09-24T16:26:20.737

Answers

12

First, you should backup your wallet.dat in case something goes wrong. The file is located in the data directory:

Windows

C:\Documents and Settings\YourUserName\Application data\Bitcoin (XP)

C:\Users\YourUserName\Appdata\Roaming\Bitcoin (Vista and 7)

The easiest way to open your appdata folder is to press Windows Key-R, then type %appdata% and hit enter.

Linux

~/.bitcoin/

Mac

~/Library/Application Support/Bitcoin/

Then install the new version in the regular manner. The new client should use your previous settings (including the wallet and the blockchain data).
If, by some strange magic, your wallet gets corrupted, just copy your backup into the data folder.

nmat

Posted 2011-09-24T01:36:46.550

Reputation: 10 879

From @Jasom Dotnet "If you have problem to access AppData dir on your Win, you can type %APPDATA% into commnad line (Win + R)"goodguys_activate 2013-03-13T17:53:04.627

1Please see my comment on the question.ripper234 2011-09-24T05:04:38.863

@ripper234 OK. I removed the website from the answer.nmat 2011-09-24T12:08:00.563

Great. I was hoping it would be simple and figure it would be. I just didn't see anywhere saying for sure what to do. Thanks for the answer.Canen 2011-09-24T16:25:29.113