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. The chapar cask is in Homebrew’s own cask repository, so no tap is needed:
brew install --cask chaparTo update to the latest release:
brew upgrade --cask chaparIf you installed Chapar from the chapar-rest/chapar tap before, brew update moves it to the official cask; nothing else to do.
Windows
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.14.1-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.
Updates
Once at startup, Chapar checks GitHub for a newer release. When there is one, a notice in the bottom-right corner offers Install latest and See what’s new:
| Installed with | What Install latest does |
|---|---|
| DMG (macOS) | Downloads the new DMG, checks the app’s signature, Gatekeeper’s verdict and that the same team signed it, replaces the app and offers a restart. |
| Homebrew | Runs brew upgrade --cask chapar. |
| Windows zip | Puts the new chapar.exe in place of the running one. |
| Linux, or a copy Chapar can’t replace | Offers a Download button for the release page. |
Every release file is signed, and Chapar installs nothing without a valid signature. The App Store version is updated by the App Store. Turn the check off in Settings › Appearance › Check for updates.
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.14.1 # dist/darwin/*.dmg
yoga package -os linux -version v0.14.1 # dist/linux/*.tar.xz
yoga package -os windows -version v0.14.1 # 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.
- Command Line and CI: install
chapar-clito run your test cases in CI.