1: Open the MakeCode editor
Example app development setup
This section will guide you through setting up your development environment and getting started with programming your own micro:bit app.
MakeCode setup
Section titled “MakeCode setup”2: Click 'Import' on the middle-right of the screen

3: Click 'Import URL...'

4: Import the example app
Paste https://github.com/microbit-apps/example or your own fork of it

Github integration
Section titled “Github integration”MakeCode has built in github integration, allowing you to easily share your work and collaborate with others. MakeCode saves your work as a project, so this isn’t required for initial development and experimentation.
We recommend using this feature if you’ve forked github.com/microbit-apps/example though
Press the Github button in the middle-bottom

Here you can pull, commit and push changes to your fork

VSCode setup
Section titled “VSCode setup”Development in VSCode is also supported with our simulator. VSCode requires more setup, but is a more feature rich environment.
1: Install VSCode
2: Installing Node: NVM
We need Node for the Static TypeScript compiler and package management.
To get node we first need nvm (Node Version Manager), which allows you to easily install and manage multiple versions of node on your machine.
Go to https://www.nvmnode.com/guide/download.html

3: Installing Node: NPM
Now that we have the node version manager, we can install the node package manager (npm). Type the following into your terminal:
nvm install 24
nvm use 24
3: Install the makecode-cli
Now that we have node setup we can get the makecode-cli npm package
Install makecode globally:
npm i -g makecode
Test that it’s available. Note that the package is called makecode, but the command is mkc:
mkc --help
Coming soon: using makecode-cli, using VSCode simulator



