Skip to content

Instantly share code, notes, and snippets.

@kevinphys
Forked from sgk/build-pxt-microbit.sh
Created November 24, 2020 09:40
Show Gist options
  • Save kevinphys/b555b8c0ac93e3f389ca45ce659ca0b5 to your computer and use it in GitHub Desktop.
Save kevinphys/b555b8c0ac93e3f389ca45ce659ca0b5 to your computer and use it in GitHub Desktop.
#!/bin/bash
git clone https://github.com/microsoft/pxt
cd pxt
npm install
npm run build
cd ..
git clone https://github.com/microsoft/pxt-common-packages
cd pxt-common-packages
npm install
cd ..
git clone https://github.com/microsoft/pxt-microbit
cd pxt-microbit
npm install -g pxt
npm install
pxt link ../pxt
pxt link ../pxt-common-packages
pxt serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment