How to enable bluetooth connections when using a CLI on MacOS

I’m going mad, tending to use bluetooth to configure Meshtastic nodes using the CLI and connecting to the well-known via BLE. Every time the result was the same: program terminated by the operating system and error message saying that the command could not be used because it was not considered safe: the classic MacOs security screen, in short.

The solution is simpler than what you might think: it’s enough to authorize the program you use as a terminal to access Bluetooth. I use Warp so I just had to add it to the list of software in the system settings.

Some screenshots to make it clearer:


See also