> For the complete documentation index, see [llms.txt](https://ianchen0119.gitbook.io/deno/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ianchen0119.gitbook.io/deno/deno-cli/xiang-guan-gong-ju-ji-ce-shi/cheng-shi-ma-bian-yi-qi.md).

# 程式碼編譯器

### 前置作業

在開始之前，請確保你的 Deno 版本為 `1.6.0` 以上。

![使用 deno upgrade 進行更新。](/files/-MOQPGmYuOn_R6tMPhqe)

### 進入正題

更新到最新版本後，我們一樣將畫面停留在命令列並輸入:

```
deno compile --unstable https://deno.land/std@0.79.0/http/file_server.ts
```

這時，只要靜靜等待編譯完即可。

編譯完成後，我們會看到如下圖右方的訊息:

```
// ...
Emit file_server
```

接著，我們可以執行該檔案，便會順利看到下圖左方的畫面:

```
./file_server.exe
```

![](/files/-MOQQWM18HJHCVSxGZAI)


---

# 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://ianchen0119.gitbook.io/deno/deno-cli/xiang-guan-gong-ju-ji-ce-shi/cheng-shi-ma-bian-yi-qi.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.
