Hanafubuki Agent

下载 Hanafubuki Agent

选择适合你的安装方式,开始使用终端里的 Agent。

一键安装

自动选择当前系统和架构,下载最新稳定版、校验 SHA-256,并配置用户 PATH。

Windows

PowerShell
irm https://raw.githubusercontent.com/licyk/hanafubuki-agent/main/install.ps1 | iex

Linux / macOS

Bash
curl -fsSL https://raw.githubusercontent.com/licyk/hanafubuki-agent/main/install.sh | bash

install.sh 需要 Bash 和 curl,也支持 Windows 的 Git Bash / MSYS2。PowerShell 脚本支持 Windows PowerShell 5.1 和 PowerShell 7。

指定版本、安装目录与卸载方法

预编译程序

无需 Rust 环境。下载与你的系统和处理器对应的压缩包,解压后运行 hanafubuki-agent。

正在获取最新稳定版…

Linux 需要 glibc 2.35 或更新版本。目前不提供 32 位或 musl 预编译包。SHA-256 链接提供对应压缩包的校验文件。

通过 Cargo 安装

已有 Rust 工具链?需要 Rust 1.99 或更新版本,Cargo 将在本机编译最新发布版。

Cargo
cargo install --locked hanafubuki-agent-cli

从源码安装

获取 main 分支的最新代码并在本机编译。需要 Git 与 Rust 1.99 或更新版本。

Git + Cargo
git clone https://github.com/licyk/hanafubuki-agent.git
cd hanafubuki-agent
cargo install --locked --path crates/cli