> For the complete documentation index, see [llms.txt](https://docs.greennode.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greennode.ai/vn/ai-stack/ai-coding/dong-lenh.md). Agents can also search and read this documentation through its [MCP server](https://docs.greennode.ai/~gitbook/mcp).

# Dòng lệnh (CLI)

> Công cụ AI Coding chạy bằng dòng lệnh (terminal) — khai báo Base URL và API key qua biến môi trường. Phù hợp cho lập trình viên, và cho người dùng **Linux / WSL**.

Trước khi cài, xem [Điều kiện cần](https://docs.greennode.ai/vn/ai-stack/ai-coding/bat-dau.md).

{% hint style="warning" %}
Mỗi trang bên dưới có **tab riêng cho PAYG và Token Plan** ở phần cấu hình. Xác định loại dịch vụ của bạn trước (theo nơi bạn lấy key), rồi chỉ copy từ tab đó — key và Base URL lệch loại dịch vụ sẽ trả về `401 Unauthorized`.
{% endhint %}

* [Claude Code](https://docs.greennode.ai/vn/ai-stack/ai-coding/dong-lenh/claude-code.md)
* [Codex CLI](https://docs.greennode.ai/vn/ai-stack/ai-coding/dong-lenh/codex-cli.md)
* [OpenCode](https://docs.greennode.ai/vn/ai-stack/ai-coding/dong-lenh/opencode.md)
