# Typescript local build/deploy tool

**URL:** https://forum.makecode.com/t/typescript-local-build-deploy-tool/11985
**Category:** micro:bit
**Created:** [February 1, 2022, 7:58pm UTC](https://forum.makecode.com/t/typescript-local-build-deploy-tool/11985 "2022-02-01T19:58:09Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jambolina](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@jambolina](https://forum.makecode.com/u/jambolina)
#### Post date: [February 1, 2022, 7:58pm UTC](https://forum.makecode.com/t/typescript-local-build-deploy-tool/11985/1 "2022-02-01T19:58:09Z")

</div>

I’ve just started messing around with the BBC micro:bit and I understand that there are 3 programming languages that can be used: python, typescript and C++ (as well as Microsoft’s block thing). I’d prefer to use typescript and I was wondering if a simple build tool exists for building and deploying typescript to the micro:bit. I’m aware of using PXT as described here: [https://makecode.com/cli](https://makecode.com/cli). But PXT is really designed for hosting an online makecode instance and is way to heavy (~20k files, ~350MB) if you just want a simple command line build tool. Does a lighter weight tool exist or do I have to use python/C++ if I want to develop locally?

Thanks for your help.

---

<div class="post-metadata">

### Author: ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)
#### Post date: [February 2, 2022, 5:14pm UTC](https://forum.makecode.com/t/typescript-local-build-deploy-tool/11985/2 "2022-02-02T17:14:47Z")

</div>

I’m not aware of anything that supports TypeScript other than pxt, but I took a look at Carlos Pereira Atencio’s [Awesome microbit](https://github.com/carlosperate/awesome-microbit) site, which is a curated list of a lot of micro:bit resources. It includes a section on [programming](https://github.com/carlosperate/awesome-microbit#-programming) that linked to [Espruino JavaScript](https://www.espruino.com/MicroBit).

It looks like there’s also some support for Rust, Ada, Forth, Pascal, … and many others.

Bill

---

<div class="post-metadata">

### Author: ![jambolina](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@jambolina](https://forum.makecode.com/u/jambolina)
#### Post date: [February 3, 2022, 2:11am UTC](https://forum.makecode.com/t/typescript-local-build-deploy-tool/11985/3 "2022-02-03T02:11:38Z")

</div>

Thanks for the link, I’ll take a look.

I’ve ended up using micropython for now but it would be great to try some of the other languages mentioned on an embedded system - rust in particular could be very cool.

There must be a way to extract just the compile/deploy tool chain from pxt and as it’s all open-source, could be a good little project for someone.

The issue I’m encountering is that I’m required to download 1000s of node modules each time I want to create a project. The uflash tool for micropython is much nicer, and I think the micro:bit could certainly benefit from something like that for typescript.

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [February 3, 2022, 2:14am UTC](https://forum.makecode.com/t/typescript-local-build-deploy-tool/11985/4 "2022-02-03T02:14:56Z")

</div>

@jambolina we have a new, much, much faster CLI that doesn’t require downloading node\_modules. Check it out here:

> **[MKC - command line tool for MakeCode editors](https://microsoft.github.io/pxt-mkc/)**
>
> Command line tool for MakeCode editors

---

<div class="post-metadata">

### Author: ![jambolina](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@jambolina](https://forum.makecode.com/u/jambolina)
#### Post date: [February 3, 2022, 4:59pm UTC](https://forum.makecode.com/t/typescript-local-build-deploy-tool/11985/5 "2022-02-03T16:59:18Z")

</div>

Thanks Richard,

This looks like exactly the sort of thing I’m looking for.

---

<div class="post-metadata">

### Author: ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)
#### Post date: [February 3, 2022, 4:59pm UTC](https://forum.makecode.com/t/typescript-local-build-deploy-tool/11985/6 "2022-02-03T16:59:54Z")

</div>

I think rust could be pretty cool too…but I haven’t had the time to really dig into it. If you do, share your experience here!
