The micro:bit can be connected to your computer or device with a micro USB cable that is capable of data transfer (not just charging). Data can be sent and received between the BBC micro:bit and the computer so programs can be downloaded from Windows, Mac, ChromeOS (Chromebooks) and Linux (including Raspberry Pi) onto the micro:bit via this USB data connection.
Connect the small end of the cable to your micro:bit and the other end to your computer's USB port.
Windows 10 & 8.1: Windows Update will fetch any necessary drivers. For earlier versions of Windows, (Windows 7, Vista) if you would like to use serial communication (not necessary to program your micro:bit) you will also need the Arm MBED serial port driver.
Mac OS and LInux require no driver installs.
If possible, avoid using USB ports on computers designed for charging devices (they are often marked with a lightning bolt or 'SS'). They supply a higher current than the micro:bit is designed to handle, and you may cause damage to your micro:bit. You may introduce a USB hub between the high current port and the micro:bit to overcome this issue, providing that the hub is also not marked for high speed 'SS' use.
To check the micro:bit has mounted as the MICROBIT drive:
Windows - open Device Manager and look under Disk Drives
Mac OS - open Disk Utility from Aplications > Utilities
Chrome OS - Open the Files app.
Ubuntu - open Disks
Raspbian - open File Manager
In each utility the micro:bit should be listed as an external drive.
For troubleshooting see our article on fault finding with the micro:bit