I have to list all available bluetooth devices from command line. I tried to google it, but got only results like "how to turn on bluetooth from terminal".

Simply: bluetooth scan

Thanks for help in advance.

  • 2
    by available you mean paired ? or do you mean Bluetooth scan ?
    – Ruskes
    May 30, 2014 at 21:13
  • would this work for you stackoverflow.com/a/11682731/2241562
    – Ruskes
    May 30, 2014 at 22:32
  • Bluetooth scan. May 31, 2014 at 7:46
  • this q/a seems a bit confusing - does bluetooth scan list all nearby devices that are discoverable or does the answer below by njboot return that?
    – Dylan
    Nov 30, 2016 at 14:10

1 Answer 1


Simply typing in:


bluetoothd (Mojave or newer)

Will return a list of paired devices according to to the link key. I don't know how to have it exit cleanly, so to return to the prompt you will need to press Control+c

  • would you use the same command for devices scan (not paired)
    – Ruskes
    May 31, 2014 at 8:29
  • @Buscar웃 Honestly not sure. When I run it, it shows a few other key values of other devices I own which aren't linked -but bluetooth enabled. It's hard to identify the devices themselves based on the output though - looks almost like MAC addresses (though its not). Thanks for pointing out that distinction.
    – njboot
    May 31, 2014 at 13:24
  • @Buscar웃 I'm not sure if the additional listings were previously connected devices though, or ones resulting from an active scan.
    – njboot
    May 31, 2014 at 13:31
  • I tried yours and it did show previously paired devices on my mac (that are currently not connected). I do not think it does the active scan for all surrounding BT devices.
    – Ruskes
    May 31, 2014 at 13:40
  • 1
    @Buscar웃 the other alternative is it shows available devices which aren't paired but which were previously and are currently available (and thus, have already established a link key with the MBP). I agree though - I don't believe this shows a full scan of all available devices (that being - including those which weren't previously paired).
    – njboot
    May 31, 2014 at 13:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .