> For the complete documentation index, see [llms.txt](https://ghom.gitbook.io/bot.ts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ghom.gitbook.io/bot.ts/command-line/update.md).

# Update

{% hint style="danger" %}
**This script overwrite your files**, please read the entierty of this page before using this script!
{% endhint %}

## Usage

{% tabs %}
{% tab title="npm" %}

```bash
npm run update
```

{% endtab %}

{% tab title="Yarn" %}

```bash
yarn update
```

{% endtab %}

{% tab title="Bun" %}

```bash
bun run update
```

{% endtab %}
{% endtabs %}

## Which files are update?

All files in the `src/app` folder are affected by the update. But also all the files which correspond with the following glob pattern are affected too: `src/**/*.native.ts`

Here is a list of special files that will always be updated.

```bash
.gitattributes
.gitignore
tsconfig.json
src/index.ts
```

## Customize native file and ignore it during an update

If you want to customize a native file (`*.native.ts`), the first step is to **disable updates** on this file. It's easy, **just remove the `native` part of file name**. (e.g. `eval.native.ts` becomes `eval.ts`)

## You get an error while using the command

If you get an error telling you that your Gulpfile has been changed, don't worry! You simply have to **rerun the command** in order to use the new Gulpfile to update the framework.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://ghom.gitbook.io/bot.ts/command-line/update.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.
