跳至正文内容
TursoDB.cn 独立社区 · MVCC 并发写与每 Agent 独立库实战 阅读解析 →
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

验证安装

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 开源协议) 查看官方原文 ↗
搜索
按 Esc 关闭 · 由 Pagefind 静态索引驱动