> For the complete documentation index, see [llms.txt](https://cube.ewelink.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cube.ewelink.cc/english-th/getting-started/quickstart/one-click-installation/windows.md).

# Windows

คู่มือนี้จะแสดงวิธีติดตั้ง CUBE OS บน Windows ด้วยตัวติดตั้งแบบคลิกเดียว ตัวติดตั้งจะตั้งค่า VirtualBox สร้างเครื่องเสมือน และเริ่ม CUBE OS ให้คุณโดยอัตโนมัติ

### 1. การเตรียมการ

{% stepper %}
{% step %}
**ตรวจสอบพีซี Windows ของคุณ**

ตรวจสอบให้แน่ใจว่าพีซีของคุณตรงตามข้อกำหนดเหล่านี้:

* **ระบบปฏิบัติการ**: Windows 10 หรือ Windows 11, 64 บิต
* **CPU**: 2 คอร์ขึ้นไป
* **หน่วยความจำ**: RAM 4 GB ขึ้นไป
* **เครือข่าย**: อินเทอร์เน็ตที่เสถียรและการเข้าถึง LAN
* **สิทธิ์**: สิทธิ์ผู้ดูแลระบบบน Windows
*

{% endstep %}

{% step %}
**ดาวน์โหลดตัวติดตั้ง**

ไปที่ [หน้ารุ่นที่เผยแพร่ของ CUBE OS](https://github.com/eWeLinkCUBE/CUBE-OS/releases/latest) และดาวน์โหลด **ตัวติดตั้งแบบคลิกเดียวสำหรับ Windows**.

<div align="left"><figure><img src="/files/6cfa0ea379e7b78e5a8cacf0fb03f4fb1208b10c" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**อะแดปเตอร์ Zigbee (ไม่บังคับ)**

หากคุณต้องการเพิ่มอุปกรณ์ Zigbee ให้เตรียม Zigbee ดองเกิล อุปกรณ์ Zigbee ดองเกิลที่ทดสอบแล้ว ได้แก่:

ก่อนเชื่อมต่ออะแดปเตอร์ Zigbee กับ Windows ให้ติดตั้งไดรเวอร์อนุกรม USB ที่ตรงกับชิปเซ็ตของดองเกิล:

* **CP210x** — [ไดรเวอร์ Silicon Labs CP210x USB to UART Bridge VCP](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers)
* **CH34x** — [ไดรเวอร์อนุกรม USB WCH CH341/CH34x](https://www.wch-ic.com/downloads/CH341SER_EXE.html)

{% hint style="info" %}
หาก Windows ไม่ตรวจพบดองเกิลในตัวติดตั้งหรือใน VirtualBox ให้ถอดอะแดปเตอร์ออก ติดตั้งไดรเวอร์ แล้วเชื่อมต่อใหม่
{% endhint %}
{% endstep %}
{% endstepper %}

### 2. ติดตั้ง CUBE OS ด้วยตัวติดตั้งแบบคลิกเดียว

{% stepper %}
{% step %}
**เรียกใช้ตัวติดตั้งในฐานะผู้ดูแลระบบ**

ค้นหาไฟล์ตัวติดตั้งใน **ดาวน์โหลด** หรือโฟลเดอร์ที่คุณเลือก คลิกขวาที่ไฟล์นั้นแล้วเลือก **เรียกใช้ในฐานะผู้ดูแลระบบ**.

<div align="left"><figure><img src="/files/e59e0eac74bbc0948968c29b6594fbeb3e2d3d8e" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**ให้ตัวติดตั้งตรวจสอบ VirtualBox**

ตัวติดตั้งจะตรวจสอบว่า VirtualBox มีอยู่บนพีซีของคุณหรือไม่ หากยังไม่ได้ติดตั้ง VirtualBox ให้ทำตามขั้นตอนบนหน้าจอเพื่อติดตั้งก่อน

<div align="left"><figure><img src="/files/aac0d051469baf25729880501cdd3d014738f635" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**ตั้งค่าทรัพยากรของเครื่องเสมือน**

เลือกชื่อเครื่องเสมือน หน่วยความจำ และคอร์ CPU การตั้งค่าที่แนะนำ:

* **หน่วยความจำ**: 2048 MB ขึ้นไป
* **CPU**: 2 คอร์ขึ้นไป

<div align="left"><figure><img src="/files/0d5d392fbc7b8b975f2292827c90e2e509f423ab" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**เลือกอะแดปเตอร์เครือข่ายแบบบริดจ์**

เลือกอะแดปเตอร์เครือข่ายที่ใช้งานอยู่บนพีซีของคุณ ใช้อะแดปเตอร์แบบบริดจ์เพื่อให้ CUBE OS เข้าร่วมเครือข่ายท้องถิ่นของคุณได้

<div align="left"><figure><img src="/files/d80b51a46b21f1180c8eac4320b99e5b153823b9" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**ไม่บังคับ: กำหนดค่า USB passthrough**

หากคุณใช้ Zigbee ดองเกิล ให้เลือกอุปกรณ์ USB จากรายการ หากตอนนี้คุณยังไม่ต้องใช้ Zigbee ให้ข้ามขั้นตอนนี้

<div align="left"><figure><img src="/files/1203c144135e3b78bc2d7fc4b05d7b763b1b5fee" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**เริ่มการติดตั้ง**

ตัวติดตั้งจะแยกไฟล์ที่จำเป็นและสร้างเครื่องเสมือน CUBE OS โดยอัตโนมัติ รอจนกระทั่งกระบวนการเสร็จสิ้น จากนั้นคลิก **เสร็จสิ้น**.

<div align="left"><figure><img src="/files/cd2ef6cc586209979ee6535f7fc4b5d8905df043" alt="" width="375"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/95c6c50683184a8ffb3873536a208190da23e4d3" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### 3. บูตและเข้าถึง CUBE OS

{% stepper %}
{% step %}
**รอให้ CUBE OS เริ่มทำงาน**

หลังการติดตั้ง เครื่องเสมือนจะเริ่มทำงานโดยอัตโนมัติใน VirtualBox เมื่อบูตเสร็จสิ้น คอนโซลจะแสดงที่อยู่ IP ของ CUBE OS

<div align="left"><figure><img src="/files/3f0403c1cc8042bf6bfa88b239d1a60e1edae103" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**เปิดเว็บคอนโซลของ CUBE OS**

เปิดเบราว์เซอร์บนเครือข่ายเดียวกันและเข้าชมที่อยู่ใดที่อยู่หนึ่งต่อไปนี้:

* `http://<CUBE_OS_IP>/`
* <http://cube.local>

<div align="left"><figure><img src="/files/3ac444851e35e60875641d168439d0972b9bf3a8" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**ใช้ที่อยู่แบบย่อในเครื่องในภายหลัง**

หลังจากตั้งค่าแล้ว คุณสามารถดูรหัสแบบย่อได้บนหน้าการตั้งค่า จากนั้นคุณสามารถใช้ `cube-{short-id}.local` เพื่อระบุอินสแตนซ์ CUBE OS นี้บน LAN ของคุณ

<div align="left"><figure><img src="/files/4bf83951fe35fc7cf94526465d804b9b646ec886" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}


---

# 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://cube.ewelink.cc/english-th/getting-started/quickstart/one-click-installation/windows.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.
