3

I have installed bitcoin-core with Homebrew on my MacOS, but the only package installed is Bitcoin-Qt. How do I also install bitcoin-cli?

(Just want to play with the commands for learning.)

7
  • I didn't know you could brew install Bitcoin Core until your question. If you download Bitcoin Core from bitcoincore.org bitcoin-cli is included. I'd be surprised if that wasn't the case for the brew install but this is the first time I've seen it Commented Sep 10, 2022 at 12:56
  • 1
    @MichaelFolkson Homebrew installs the same .dmg published on the official website, take a look: formulae.brew.sh/api/cask/bitcoin-core.json
    – noitseuq
    Commented Sep 10, 2022 at 13:54
  • Indeed, so it includes the bitcoin-cli. Don't know why the OP doesn't have it. Maybe not following the Core docs on how to access it? Commented Sep 10, 2022 at 14:06
  • Are you following these instructions for accessing the bitcoin-cli? You should have it installed github.com/bitcoin/bitcoin/blob/master/doc/… Commented Sep 10, 2022 at 14:16
  • @noitseuq Does this answer your question? bitcoin.stackexchange.com/questions/43148/…
    – user133407
    Commented Sep 11, 2022 at 3:14

1 Answer 1

2

This will install bitcoind and bitcoin-cli:

$ brew install bitcoin

This is how you install Bitcoin Core (MacOS app with UI):

$ brew install --cask bitcoin-core

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