安裝
Linux、macOS 和 Windows 都有自包含版本。
完整的首次安裝
擴充安裝指令碼會安裝 Crystal Code、瀏覽器前端,以及網頁搜尋與擷取外掛。預設的供應商與主題僅在各自目錄為空或不存在時寫入。
Linux
x64ARM64musl
curl --fail --location --show-error https://crystalcode.ink/scripts/install-extended.sh | shmacOS
ARM64x64
與 Linux 使用同一安裝指令碼。
curl --fail --location --show-error https://crystalcode.ink/scripts/install-extended.sh | shWindows
x64ARM64
Windows 上需要 Git for Windows,因為 bash 由 Git Bash 提供。
Invoke-RestMethod -Uri https://crystalcode.ink/scripts/install-extended.ps1 | Invoke-Expression使用一般安裝指令碼
重新執行標準安裝指令碼即可更新 Crystal Code 和瀏覽器前端。如需同時更新網頁搜尋與擷取外掛,請重新執行擴充安裝指令碼。
Linux
x64ARM64musl
curl --fail --location --show-error https://crystalcode.ink/install.sh | shmacOS
ARM64x64
與 Linux 使用同一安裝指令碼。
curl --fail --location --show-error https://crystalcode.ink/install.sh | shWindows
x64ARM64
Windows 上需要 Git for Windows,因為 bash 由 Git Bash 提供。
Invoke-RestMethod -Uri https://crystalcode.ink/install.ps1 | Invoke-Expression開啟一個新終端機,Linux 或 macOS 上執行 crystal,Windows 上執行 CrystalCode。
兩種指令碼預設都會替換 Crystal Code 主目錄下 web 目錄的內容。如果該目錄託管了自訂前端,請先下載指令碼,再於 Linux 或 macOS 加上 --skip-web 執行,或於 PowerShell 加上 -SkipWeb 執行。
Crystal Code 內建一小組供應商和模型。更多的由一個單獨維護的目錄儲存庫提供。
供應商與模型目錄