About Lesson
From a computer
These instructions are designed for users on a Windows, Mac, Chromebook, Linux or Raspberry Pi computer.
- Connect your micro:bit to your computer with a USB cable
- Choose either ‘Download’ (in MakeCode) or ‘Send to micro:bit’ (in Python):

MakeCode

Python
- Follow the instructions on screen
-
- The instructions will prompt you to pair your micro:bit to your browser and then transfer the code directly to your micro:bit using webUSB
MakeCode
Python
Save a copy of your program
- If you would like to save a copy of your program to your local computer choose:
MakeCode
Python
- Alternatively, in MakeCode you can create an account and save your code there.
- By default, MakeCode will list recent projects on the home page but this uses temporary browser storage so projects can be accidentally deleted and are not accessible from other devices/browsers.
Troubleshooting
- You may need to update your micro:bit firmware if you got the device a long time ago. Find out more on our firmware page.
- Alternatively, use the method above to save a copy of the program to your local computer then see transfer a program that has been downloaded as a file.