Installation
Chapar is released for macOS (Apple Silicon and Intel), Linux (amd64 and arm64) and Windows (amd64). Every release is published on the GitHub Releases page.
| Platform | File | Notes |
|---|---|---|
| macOS, Apple Silicon | chapar-macos-<version>-arm64.dmg | Signed and notarized |
| macOS, Intel | chapar-macos-<version>-amd64.dmg | Signed and notarized |
| Linux, x86-64 | chapar-linux-<version>-amd64.tar.xz | |
| Linux, ARM64 | chapar-linux-<version>-arm64.tar.xz | |
| Windows, x86-64 | chapar-windows-<version>-amd64.zip | Windows on ARM runs it through emulation |
macOS
Homebrew is the easiest way to install and update Chapar:
brew tap chapar-rest/chapar
brew install --cask chaparTo update to the latest release:
brew upgrade --cask chaparWindows
Download chapar-windows-<version>-amd64.zip from the latest release, extract it and run chapar.exe.
Linux
Download the tar.xz archive for your CPU from the latest release and extract it:
tar -xJf chapar-linux-v0.9.0-amd64.tar.xz
./chaparArch Linux (AUR)
On Arch-based distributions you can install the chapar-bin package with your AUR helper:
yay -S chapar-binThe AUR package is maintained by a community contributor and may lag behind the latest release.
Build from source
Chapar is written in Go. Its UI toolkit, Yoga, renders through GLFW and WebGPU, so building needs CGO and a C compiler:
| OS | What to install |
|---|---|
| macOS | Xcode Command Line Tools: xcode-select --install |
| Debian / Ubuntu | sudo apt install gcc libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxxf86vm-dev libgl1-mesa-dev |
| Windows | A MinGW-w64 GCC on your PATH, for example from MSYS2 |
Then clone and build:
git clone https://github.com/chapar-rest/chapar.git
cd chapar
go build -o chapar .
./chaparDependencies are vendored. If you change them, run make vendor instead of go mod vendor: the script also copies C sources that go mod vendor leaves out.
To build the same packages the releases ship (DMG, tar.xz, zip), install the Yoga CLI with make install_deps and run yoga package:
yoga package -os darwin -arch arm64 -version v0.9.0 # dist/darwin/*.dmg
yoga package -os linux -version v0.9.0 # dist/linux/*.tar.xz
yoga package -os windows -version v0.9.0 # dist/windows/*.zipNext steps
- Quick Start: send your first requests to the free mock server.
- Python Scripting: turn on scripting if you want pre and post-request scripts. It needs Docker.