兩種跑法,同一顆引擎
| 跑法 | 取得方式 | 說明 |
|---|---|---|
| CLI(瀏覽器開 app) | 一行安裝腳本 → thinkrail 指令 |
啟動後自動開瀏覽器,同款介面 |
| 桌面 app | GitHub Releases 的 DMG / setup 包 | 官方部落格:They are packaged with Electrobun, and otherwise they run identically to the CLI thinkrail app that opens in your browser. |
README 保證兩者等價:Both embed the same engine host; app state lives under ~/.thinkrail.
一行安裝
macOS / Linux(含 Windows 上的 Git Bash):
curl -fsSL https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.sh | bash
Windows(cmd 與 PowerShell 同一行):
powershell -c "irm https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.ps1 | iex"
安裝器做的事(install.sh 註解原文):downloads the single thinkrail executable for your platform from the GitHub releases, verifies its checksum, and puts it on your PATH.——下載單檔執行檔、以 SHA256SUMS 驗證、放進 PATH,中繼資料寫到 ~/.config/thinkrail/install.json。
想釘版本或裝 nightly?
# macOS/Linux:選 channel 與版本
curl -fsSL https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.sh | bash -s -- --channel nightly
curl -fsSL https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.sh | bash -s -- --version 0.3.1
Windows 版用環境變數:THINKRAIL_CHANNEL、THINKRAIL_VERSION、THINKRAIL_PREFIX、THINKRAIL_NO_MODIFY_PATH(存檔的 install.ps1 也可帶 -Channel nightly -Version 0.2.0-nightly.4 參數)。注意釘的版本必須屬於該 channel——腳本會擋:Version $VERSION does not belong to the stable channel。
系統需求
README 原文只有兩項:
thinkrailneedsgiton your PATH and a model provider — sign in with JetBrains AI from the app or use your own provider credentials.
也就是:PATH 上有 git,加一個能用的模型供應商(App 內登入 JetBrains AI,或自帶 provider 憑證)。
桌面包平台
| 平台 | 套件 | 備註 |
|---|---|---|
| macOS 14+ | thinkrail-desktop-darwin-arm64.dmg / -x64.dmg |
Apple Silicon 或 Intel |
| Windows | setup ZIP(內含 setup exe) | x64;ARM 版 Windows 走 x64 模擬(Windows-on-ARM has no native build yet; the x64 binary runs under emulation) |
| Linux | setup tarball | x64 / ARM64;桌面版需求原文:Desktop builds need glibc 2.38+ with GTK 3, WebKitGTK 4.1, Ayatana AppIndicator 3, and librsvg 2 — Ubuntu 24.04 or newer |
Linux 相依套件一行補齊:
sudo apt install libgtk-3-0 libwebkit2gtk-4.1-0 libayatana-appindicator3-1 librsvg2-2
簽章狀態:macOS CLI 是 signed but not yet notarized、Windows 是 signed .exe、Linux unsigned。
啟動與解除安裝
thinkrail ~/code/my-repo # 開既有 repo 當專案
thinkrail --help # 列出全部 flags
thinkrail --version # 印出 build
不帶路徑啟動時,Start a new project 會在 ~/thinkrail 建一個空 git repo 讓你開工。
- 更新:
thinkrail update——重跑安裝器並替換執行檔(可選 channel/version,詳見指令詳解)。 - 移除:
thinkrail uninstall——移除執行檔+PATH 項目+中繼資料,預設保留~/.thinkrail資料(--remove-data才刪)。