> 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)
