How do I run the bitcoin bx tool in my terminal I am reading the book Mastering Bitcoin. At some point, I came accross the bx command and tried to run it in the same way as bitcoin-cli (I've got a bitcoin core node running). But I just get the command not found message. How should I go about it?
bx is found here: libbitcoin-explorer. There are copious notes there about how to install.

Can I also recommend noting btcdeb for assisting in debugging bitcoin script, should you get that deep.