Skip to content

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.

2: Click 'Import' on the middle-right of the screen

example

3: Click 'Import URL...'

example

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

example

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

example

Development in VSCode is also supported with our simulator. VSCode requires more setup, but is a more feature rich environment.

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