> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bricks.tools/llms.txt
> Use this file to discover all available pages before exploring further.

# 啟動應用程式

> 在您的裝置上指派並執行 BRICKS 應用程式

[綁定您的裝置](/zh-Hant/foundation/device-binding)至工作區後，您可以從 [BRICKS Controller](/zh-Hant/controller) 或直接在裝置上為其指派應用程式。

## 從 BRICKS Controller 指派

<Steps>
  <Step title="開啟 BRICKS Controller">
    前往 [BRICKS Controller](/zh-Hant/controller/applications) 並開啟您要執行的應用程式。
  </Step>

  <Step title="綁定裝置">
    在應用程式詳細頁面，前往**裝置**分頁並點擊**新增裝置**。選取您的裝置。
  </Step>

  <Step title="應用程式自動啟動">
    裝置接收應用程式後即會開始顯示。
  </Step>
</Steps>

<Info>
  您也可以將應用程式綁定至裝置群組，以一次部署至多台裝置。詳情請參閱[應用程式管理](/zh-Hant/controller/applications)。
</Info>

## 從裝置啟動

您也可以直接在裝置上啟動應用程式：

1. 在裝置上開啟**系統選單**
2. 點擊**應用程式**
3. 選取您要執行的應用程式

這讓您無需前往 BRICKS Controller 即可切換應用程式。

## 切換應用程式

若要變更裝置上正在執行的應用程式：

* **從裝置** —開啟系統選單，點擊**應用程式**，然後選取其他應用程式
* **從 BRICKS Controller** —從[應用程式詳細頁面](/zh-Hant/controller/applications)或[裝置詳細頁面](/zh-Hant/controller/devices)重新指派裝置

## 重新整理應用程式

若需要在裝置上重新載入目前的應用程式：

* **從裝置** —開啟系統選單並點擊**重新整理**
* **從 BRICKS Controller** —在[裝置詳細頁面](/zh-Hant/controller/devices)點擊**重新整理**
* **從 BRICKS CLI** —執行 `bricks device refresh <id>`
* **批次重新整理** —使用 `bricks group refresh <group-id>` 重新整理群組中的所有裝置

## 清除快取

清除裝置上的應用程式快取以強制完整重新載入：

* **從裝置** —開啟系統選單並點擊**清除快取**
* **從 BRICKS Controller** —在裝置詳細頁面點擊**清除快取**
* **從 BRICKS CLI** —執行 `bricks device clear-cache <id>`

## 應用程式版本管理

當應用程式有多個版本時，裝置會執行啟用中的版本。您可以從 [BRICKS Controller](/zh-Hant/controller/applications) 變更啟用版本，以進行回滾或測試特定版本。詳情請參閱[應用程式版本管理](/zh-Hant/controller/applications#application-versioning)。

## 下一步

<CardGroup cols={2}>
  <Card title="核心參考" icon="book" href="/zh-Hant/foundation/reference">
    Brick、Generator、Data、Animation 及所有平台實體的詳細參考文件。
  </Card>

  <Card title="除錯面板" icon="bug" href="/zh-Hant/foundation/debug-panel">
    檢查運行時狀態並在裝置上排解問題。
  </Card>

  <Card title="管理應用程式" icon="grid-2" href="/zh-Hant/controller/applications">
    在 BRICKS Controller 中建立、設定及管理應用程式版本。
  </Card>
</CardGroup>
