While you probably have already paired your Apple AirPods to your iPhone. You can also pair them with a computer running macOS. So in this video we demonstrate the process for pairing your Apple AirPods to a Apple Macintosh computer.
Notes: In order to pair your AirPods to macOS you will have to place them into pair mode. However, it should be noted that your Apple AirPods are able to pair to multiple devices without loosing any existing parings.