# Makecode Extension Updates

Kittenbot may release updates for MakeCode extensions periodically to improve functionality and remove bugs. This page will show you how to update or rollback your MakeCode extension versions.

![../\_images/mcbanner.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/mcbanner.png)

### KOI extension is used for demonstration[](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/makecode_extensionUpdate.html#koi-extension-is-used-for-demonstration)

### Import the KOI extension.[](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/makecode_extensionUpdate.html#import-the-koi-extension)

### <https://github.com/KittenBot/pxt-koi[>]\(<https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/makecode_extensionUpdate.html#https-github-com-kittenbot-pxt-koi>)

[Loading Extensions](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/powerBrickMC.html)

### Checking Extension Version[](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/makecode_extensionUpdate.html#checking-extension-version)

The steps to check the version of the extension:

1. Switch to text code mode
2. Open Explorer
3. The version is shown

![../\_images/check.gif](https://kittenbothk-eng.readthedocs.io/en/latest/_images/check.gif)

### Updating the Extension[](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/makecode_extensionUpdate.html#updating-the-extension)

If the extension version is outdated, it can be updated using the following method:

1. Switch to text code mode.
2. Open Explorer.
3. Click the version number.
4. The extension will be updated automatically.

![../\_images/update.gif](https://kittenbothk-eng.readthedocs.io/en/latest/_images/update.gif)

### Specifying an Extension Version[](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/makecode_extensionUpdate.html#specifying-an-extension-version)

You may need to specify an older version of an extension, this is done with the following method.

1. Open Project Settings.
2. Select “Edit Setting as Text”.
3. Change the version number to the one desired.

   ```
    ( "koi" : "github:kittenbot/pxt-koi#v0.5.4" )->( "koi" : "github:kittenbot/pxt-koi#v0.2.4" )
   ```
4. Right click and save.
5. Switch to text code mode.
6. The extension version should now be changed.

![../\_images/modify.gif](https://kittenbothk-eng.readthedocs.io/en/latest/_images/modify.gif)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub-eng.kittenbot.hk/programming-platforms/makecode-tutorial/makecode-extension-updates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
