AgentFS(測試版) AgentFS
安裝指南
在 Linux、macOS 與 Windows 上安裝 AgentFS CLI
快速安裝
安裝 AgentFS 最快速的方式:
curl -fsSL https://github.com/tursodatabase/agentfs/releases/latest/download/agentfs-installer.sh | sh
此指令會將 agentfs 執行檔安裝至 ~/.cargo/bin。
各平台安裝說明
curl -fsSL https://github.com/tursodatabase/agentfs/releases/latest/download/agentfs-installer.sh | sh
安裝完成後,請重新啟動終端機,或執行:
source ~/.zshrc # or ~/.bashrc
使用安裝腳本:
curl -fsSL https://github.com/tursodatabase/agentfs/releases/latest/download/agentfs-installer.sh | sh
安裝完成後,請重新啟動終端機,或執行:
source ~/.bashrc # or ~/.zshrc
系統需求:
- 必須具備 FUSE 以支援檔案系統掛載
- Ubuntu / Debian:
sudo apt install fuse3 - Fedora:
sudo dnf install fuse3
使用 PowerShell:
irm https://github.com/tursodatabase/agentfs/releases/latest/download/agentfs-installer.ps1 | iex
您也可以直接從 Releases 頁面下載執行檔。
驗證安裝
agentfs --version
Shell 自動補全
為您的 Shell 啟用 Tab 自動補全功能:
# Auto-detect shell
agentfs completions install
# Or specify shell explicitly
agentfs completions install bash
agentfs completions install zsh
agentfs completions install fish
安裝自動補全後,請重新啟動您的 Shell。
從原始碼建置
需要 Rust 1.70 以上版本:
git clone https://github.com/tursodatabase/agentfs.git
cd agentfs/cli
cargo install --path .
下一步
同步自官方 Turso 文件倉庫 (
tursodatabase/turso-docs
· MIT 開源授權)
檢視官方原文 ↗