Installation

Pre-built Binaries

Download from Releases.

Extract and move to your PATH:

xattr -c restcli-macos-latest
chmod +x restcli-macos-latest
mv restcli-macos-latest /usr/local/bin/restcli

From Source

Requirements

  1. Go 1.24 or later

Build

git clone https://github.com/studiowebux/restcli
cd restcli/src
go build -o ../bin/restcli ./cmd/restcli

Install to PATH

mv ../bin/restcli /usr/local/bin/

Shell Completion

Zsh (macOS)

Create completions directory:

mkdir -p ~/.zsh/completions

Add to ~/.zshrc:

fpath=(~/.zsh/completions $fpath)
autoload -Uz compinit && compinit

Generate completions:

restcli completion zsh > ~/.zsh/completions/_restcli

Reload shell:

source ~/.zshrc

Verify Installation

restcli --version