圖圖 CLI:一條命令用上所有程式設計 AI
裝一次,以後 tutu claude、tutu codex 直接用。
按複製時自動填入 Key
bash <(curl -fsSL 'https://api.tutucompute.com/v1/launch?lang=zh-Hant' -K - <<< 'header = "Authorization: Bearer …"')
三步開始
- 1
安裝圖圖 CLI
- 2
執行 tutu claude(或 codex / opencode / hermes)
- 3
第一次在瀏覽器裡點「允許」
安裝
macOS / Linux 在終端裡、Windows 在 PowerShell 裡執行下面這一行。
macOS / Linux
curl -fsSL https://api.tutucompute.com/tutu | sh Windows(cmd)
powershell -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 3072; irm https://api.tutucompute.com/tutu.ps1 | iex" Windows(PowerShell)
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 3072; irm https://api.tutucompute.com/tutu.ps1 | iex 裝好後執行:
tutu claude 支援的工具
主推四個;接入頁上的其他工具也能用 tutu <名稱> 開啟。
為什麼不直接設環境變數
| 圖圖 CLI | 自己設環境變數 | |
|---|---|---|
| 沒裝的工具 | 自動安裝 | 自己裝 |
| Key | 自動登入,不出現在命令列 | 自己保管、自己貼上 |
| 網頁上改的模型 | 下次啟動就生效 | 要重新設定 |
| 工具版本太舊 | 另裝一份新版來用 | 自己升級 |
| Codex 的模型視窗 | 自動帶上模型目錄 | 用預設值 |
安全
- Key 不出現在命令列裡,在程序列表中也看不到。
- 登入憑證只存在你自己的電腦上;在 Key 管理裡撤銷,這台電腦就登出了。
- 更新時核對下載檔案的 sha256,對不上就不更新。
- 它不起任何服務、不分享算力;想分享算力,用 tutu node 另裝圖圖算力節點(會先問你)。
常用命令
- tutu:查看登入狀態和四個工具的版本
- tutu login / tutu logout:登入 / 登出這台電腦
- tutu update:更新到最新版
- tutu doctor:檢查網路與登入
- tutu uninstall:解除安裝(不動你的工具)
- tutu node:裝成圖圖算力節點
常見問題
不用。第一次執行會開啟瀏覽器,不登入也能以遊客身分繼續;登入後同一台電腦會保持登入。
不會悄悄更新。有新版時 tutu 會在狀態裡提一句,你執行 tutu update 才更新;只有低於最低版本時才會自行更新。
不會。用你裝好的那份;版本太舊時另裝一份新版來用,原來的不動。
macOS(Apple 晶片與 Intel)、Linux(x64 與 ARM64)、Windows(x64 與 ARM64)。
執行 tutu uninstall:移除程式、登入憑證和日誌,不動你的工具。
相關
圖圖 CLI:一條命令用上所有程式設計 AI