Skip to content

ATAC - Terminal API Client Cheatsheet

ATAC - Terminal API Client Cheatsheet

ATAC (Arguably a Terminal API Client) is a Postman/Insomnia-style API client that lives entirely in your terminal. Its philosophy is free, account-less, and offline — request collections are stored as plain JSON/YAML files you can commit to Git, there is no cloud or login, and it runs as a single Rust binary. It supports the usual HTTP methods, authentication schemes, environments/variables, and pre-/post-request scripts, and can import existing Postman and Insomnia collections.

Installation

PlatformCommand
Cargo (all platforms)cargo install atac
macOS (Homebrew)brew install atac
Arch Linux (AUR)yay -S atac
Binarydownload from the GitHub Releases page
Verifyatac --version

Launching

CommandDescription
atacOpen with the default collections directory
atac -d ~/api-collectionsUse a specific directory for collections
atac --helpFull option list
Import Postmanpoint ATAC at a Postman export; it converts it

Layout & Navigation

KeyAction
Tab / Shift+TabMove between panes
/ or j / kMove within a list
EnterOpen/select
qQuit
? / hHelp
Ctrl+cCancel / quit

Collections & Requests

ActionHow
New collectionCreate from the collections pane
New requestAdd a request under a collection
Rename/deleteManage items in the tree
StorageEverything saved as files (JSON/YAML) → Git-friendly

Building a Request

FieldNotes
MethodGET, POST, PUT, PATCH, DELETE, …
URLSupports {{variable}} interpolation
Query paramsEditable key/value table
HeadersKey/value table
BodyRaw, JSON, form, multipart
AuthBasic, Bearer token, and more

Sending & Response

KeyAction
Send requestRun the current request (async)
View responseStatus, time, size, headers, body
Pretty viewJSON/response formatting
CopyCopy response body

Environments & Variables

ConceptUse
Environment filesDefine {{base_url}}, tokens, etc.
Variable interpolation{{var}} in URL, headers, body
Switch environmentsDev/staging/prod without editing requests

Scripting

HookPurpose
Pre-request scriptSet up variables/auth before sending
Post-request scriptExtract values from the response (e.g. a token)

Common Workflows

# Keep API collections in a repo and open them in the terminal
atac -d ./api-tests    # edit requests, they save as files you can commit

# Import an existing Postman collection, then run it account-free
atac                   # import the Postman export, send requests

# Chain requests: capture a token in a post-request script, reuse via {{token}}

ATAC vs Other API Clients

AspectATACPostmanYaakBruno
InterfaceTerminal TUIDesktop GUIDesktop GUIDesktop GUI
AccountNoneOptional/cloudNoneNone
StoragePlain files (Git)Cloud/localFiles (Git)Files (Git)
Best forTerminal-first, SSH, CITeams, cloud syncGUI + GitGUI + Git

Resources