I want to run a Bitcoin client on a command-line-only system (Amazon EC2). Is there some specific command-line parameters I should use in order to run the main client without the GUI, or will it run properly without any parameters? How do I later check the status of the client (check number of connections, balance, etc)?


To run it as a daemon type:

$ bitcoind -daemon
bitcoin server starting

You can then use the API calls to do whatever you want:

$ bitcoind getblockcount
$ bitcoind getconnectioncount
  • 1
    When I run that, I get "error: incorrect rpcuser or rpcpassword (authorization failed)". Do I need to pass those values on the command line? – posit labs May 14 '14 at 4:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.