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 开源协议)
查看官方原文 ↗