If your MacBook has an HDMI port, you can simply use an HDMI cable for a direct connection. However, if your MacBook only has USB-C ports, you will need a USB-C to HDMI adapter/cable or a USB-C hub ...
Take control of your vehicle's infotainment system and go beyond simple stock Apple CarPlay with products from Ottocast, which add wireless CarPlay and new features like HDMI input.