<p>This will install <code>bitcoind</code> and <code>bitcoin-cli</code>:</p>
<pre><code>$ brew install bitcoin
</code></pre>
<p>This is how you install <code>Bitcoin Core</code> (MacOS app with UI):</p>
<pre><code>$ brew install --cask bitcoin-core
</code></pre>

CC BY-SA 4.0
2023-08-26T04:24:45.113Z
2023-08-26T04:24:45.113Z
yegor256
<p>I have installed <a href="https://formulae.brew.sh/cask/bitcoin-core#default" rel="nofollow noreferrer">bitcoin-core</a> with Homebrew on my MacOS, but the only package installed is Bitcoin-Qt. How do I also install bitcoin-cli?</p>
<p>(Just want to play with the commands for learning.)</p>

CC BY-SA 4.0
2022-09-10T12:56:51.877Z
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
Michael Folkson
CC BY-SA 4.0
2022-09-10T13:54:54.247Z
@MichaelFolkson Homebrew installs the same .dmg published on the official website, take a look: https://formulae.brew.sh/api/cask/bitcoin-core.json
noitseuq
CC BY-SA 4.0
2022-09-10T14:06:17.337Z
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?
Michael Folkson
CC BY-SA 4.0
2022-09-10T14:16:26.020Z
Are you following these instructions for accessing the bitcoin-cli? You should have it installed https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#other-commands
Michael Folkson
CC BY-SA 4.0
2022-09-16T16:05:40.463Z
@1440000bytes thanks, yes, it actually reveals that "there's no bitcoin-cli built in the dmg file for mac os". So you need to compile from source.
noitseuq
CC BY-SA 4.0
2022-09-16T16:05:48.787Z
@MichaelFolkson thanks for you help! I ended up playing with Bitcoin using built-in graphical console.
noitseuq
<bitcoin-core><bitcoin-cli><mac><installation>
How to install bitcoin-cli on MacOS?
noitseuq
# How to install bitcoin-cli on MacOS?

(Asked by: username_0 on 2022-09-10)

I have installed [bitcoin-core](https://formulae.brew.sh/cask/bitcoin-core#default) 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.)

**Tags:** bitcoin-core, bitcoin-cli, mac, installation

> **Comments:**
> **username_1**: 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  
> **username_0**: @username_1 Homebrew installs the same .dmg published on the official website, take a look: https://formulae.brew.sh/api/cask/bitcoin-core.json  
> **username_1**: 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?  
> **username_1**: Are you following these instructions for accessing the bitcoin-cli? You should have it installed https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#other-commands  
> **username_0**: @1440000bytes thanks, yes, it actually reveals that "there's no bitcoin-cli built in the dmg file for mac os". So you need to compile from source.  
> **username_0**: @username_1 thanks for you help! I ended up playing with Bitcoin using built-in graphical console.  

---

## 1 answers

### Answer by username_2 on 2023-08-26. Score: 2 | Accepted answer

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

```


---

