treq is a keyboard-first HTTP client for the terminal, built with OpenTUI. It is designed around a vim-like workflow so you can move between URL, headers, request body, response, saved requests, and commands without touching the mouse.

bun install
bun run devcurl -fsSLO https://github.com/lucaspiritogit/treq/releases/latest/download/install.sh
sh install.shInstall a specific version:
TREQ_VERSION=v0.1.0 sh install.shWindows (PowerShell):
iwr https://github.com/lucaspiritogit/treq/releases/latest/download/install.ps1 -OutFile install.ps1
powershell -ExecutionPolicy Bypass -File .\install.ps1- Vim-style command mode (
:) with command suggestions (for example:send,:save,:list,:help) - Fast keyboard-driven flow for method, URL, headers, request body, and response body
- Request list sidebar (toggleable), with keyboard navigation
- Save requests locally to your user config directory (
~/.config/treq/treq-requests.jsonon Unix)
:open command modeEscswitch to interactive mode and interactive methodTab/Shift+Tabcycle focus between panelsCtrl+Enter/Cmd+Enter/Alt+Entersend requestEntersend request (interactive mode, non-request-list focus)ifocus URL inputhfocus headers inputrfocus request body inputbfocus response body panell/Leftfocus request list (opens list if hidden)gset methodGETpset methodPOSTuset methodPUTtset methodPATCHdset methodDELETE- Request list:
Up/Downork/jnavigate,Enterload selected request,Ctrl+d/Cmd+ddelete selected request
:send,:s,:runsend current request:savesave current request (overwrites loaded request):listfocus request list sidebar:toggle-list,:tl,:sidebartoggle request list sidebar:reload,:loadreload requests fromtreq-requests.json:url,:i,:inputfocus URL input:headers,:hfocus headers input:request,:req,:rfocus request body input:response,:res,:body,:bfocus response body:get,:gset methodGET:post,:pset methodPOST:put,:uset methodPUT:patch,:tset methodPATCH:delete,:dset methodDELETE:debug,:dbgopen debug modal to see additional context about the request and the response.:helpopen command help modal:quit,:q,:exitclose app