requestbaby · 下载requestbaby · Download

下载 requestbabyDownload requestbaby

所有安装包都发布在 GitHub Releases,免费,MIT 许可。Every package is published on GitHub Releases, free under the MIT license.

选择你的安装包Choose your package

macOS 桌面端macOS desktop app

已签名并通过 Apple 公证,macOS 12 以上。打开后把 requestbaby 拖进“应用程序”。Signed and notarized by Apple. macOS 12 or later. Open it and drag requestbaby into Applications.

requestbaby-<版本号>.dmgrequestbaby-<version>.dmg

命令行 · macOS(Apple 芯片)CLI · macOS (Apple silicon)

M 系列芯片的 Mac。Macs with M-series chips.

requestbaby-aarch64-apple-darwin.tar.gz

命令行 · macOS(Intel)CLI · macOS (Intel)

Intel 芯片的 Mac。Intel-based Macs.

requestbaby-x86_64-apple-darwin.tar.gz

命令行 · Linux(x86_64)CLI · Linux (x86_64)

静态链接,不依赖系统库,适合 CI。Statically linked with no system libraries, well suited to CI.

requestbaby-x86_64-unknown-linux-musl.tar.gz

命令行 · Linux(arm64)CLI · Linux (arm64)

静态链接,适合 ARM 服务器和容器。Statically linked, for ARM servers and containers.

requestbaby-aarch64-unknown-linux-musl.tar.gz

前往 Releases 下载Download from Releases

每个安装包旁边有同名的 Each package has a matching .sha256 文件,可以用来校验下载是否完整。桌面端是 macOS 版,命令行覆盖 macOS 和 Linux。 file for checking the download. The desktop app is for macOS; the CLI covers macOS and Linux.

安装Install

桌面端Desktop app

打开 DMG,把 requestbaby 拖进“应用程序”。桌面端自带命令行:在菜单里选“安装命令行工具”,终端里就能直接用 Open the DMG and drag requestbaby into Applications. The app bundles the CLI: choose “Install command-line tool” from the menu and requestbaby 命令。 works in your terminal.

命令行Command line

以 macOS Apple 芯片为例,其他平台换成对应的文件名:Apple silicon macOS shown; use the matching file name for other platforms:

curl -LO https://github.com/zhizuzhefu/requestbaby/releases/latest/download/requestbaby-aarch64-apple-darwin.tar.gz
tar -xzf requestbaby-aarch64-apple-darwin.tar.gz
sudo mv requestbaby /usr/local/bin/
requestbaby --version

Linux 同样用 tar.gz,换成对应的文件名即可。On Linux use the same tar.gz flow with the matching file name.

校验下载Verify the download

curl -LO https://github.com/zhizuzhefu/requestbaby/releases/latest/download/requestbaby-aarch64-apple-darwin.tar.gz.sha256
shasum -a 256 -c requestbaby-aarch64-apple-darwin.tar.gz.sha256

升级Upgrade

命令行运行 Run requestbaby upgrade,会下载最新版本、校验后替换自己;加 to download the latest version, verify it and replace itself; add --check 只检查不安装。桌面端启动时会检查,有新版本时状态栏会提示。 to only check. The desktop app checks at launch and shows a notice in the status bar when a new version is out.

运行环境Requirements

从源码构建Build from source

需要 Rust(rustup)和 cmake,源码在 Needs Rust (rustup) and cmake. The source is on GitHub。.

装好之后After installing

几条命令就能跑出第一份结果:A few commands get you a first result:

requestbaby init myapi && cd myapi
requestbaby vars set baseUrl http://localhost:8080 -e dev
requestbaby run
requestbaby open

遇到问题见If something goes wrong, see the 支持页support page。.