🍺 BREW Explorer

← all formulae

ain

brew install ain v1.6.0 MIT

HTTP API client for the terminal

9
30-day installs · #8780
13
90-day · #11151
108
365-day · #8980
620
★ GitHub stars · updated 10mo ago

Build dependencies

go

GitHub topics

api api-client api-rest curl go http httpie insomnia paw postman terminal

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "HTTP API client for the terminal",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:20+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "ain",
  "github_default_branch": "main",
  "github_last_commit_at": "2025-10-17T14:30:50Z",
  "github_readme_excerpt": "\u003cimg src=\"assets/logo.svg\" height=200 style=\"margin-bottom: 20px\"\u003e\n\n# Introduction\nAin is a terminal HTTP API client. It\u0027s an alternative to postman, paw or insomnia.\n\n![Show and tell](assets/show-and-tell.gif?raw=true)\n\n* Flexible organization of API:s using files and folders ([examples](https://github.com/jonaslu/ain/tree/main/examples)).\n* Use shell-scripts and executables for common tasks.\n* Put things that change in environment variables or .env-files.\n* Handles url-encoding.\n* Share the resulting [curl](https://curl.se/), [wget](https://www.gnu.org/software/wget/) or [httpie](https://httpie.io/) command-line.\n* Pipe the API output for further processing.\n* Tries hard to be helpful when there are errors.\n\nAin was built to enable scripting of input and further processing of output via pipes. It targets users who work with many API:s using a simple file format. It uses [curl](https://curl.se/), [wget](https://www.gnu.org/software/wget/) or [httpie](https://httpie.io/) to make the actual calls.\n\n\u2b50 Please leave a star if you find it useful! \u2b50\n\n# Table of contents\n\u003c!-- npx doctoc --github --notitle --maxlevel=2 --\u003e\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON\u0027T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Pre-requisites](#pre-requisites)\n- [Installation](#installation)\n  - [If you have go installed](#if-you-have-go-installed)\n  - [Via homebrew](#via-homebrew)\n  - [Via scoop](#via-scoop)\n  - [Via the AUR (Arch Linux)](#via-the-aur-arch-linux)\n  - [Download binaries yourself](#download-binaries-yourself)\n- [Syntax highlight](#syntax-highlight)\n  - [Vim plug](#vim-plug)\n- [Quick start](#quick-start)\n- [Important concepts](#important-concepts)\n- [Template files](#template-files)\n- [Running ain](#running-ain)\n- [Supported sections](#supported-sections)\n  - [[Host]](#host)\n  - [[Query]](#query)\n  - [[Headers]](#headers)\n  - [[Method]](#method)\n  - [[Body]](#body)\n  - [[Config]](#config)\n  - [[Backend]](#backend)\n",
  "github_repo": "jonaslu/ain",
  "github_stars": 620,
  "github_topics": [
    "api",
    "api-client",
    "api-rest",
    "curl",
    "go",
    "http",
    "httpie",
    "insomnia",
    "paw",
    "postman",
    "terminal"
  ],
  "homepage": "https://github.com/jonaslu/ain",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 9,
  "installs_365d": 108,
  "installs_90d": 13,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "ain",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8780,
  "rank_365d": 8980,
  "rank_90d": 11151,
  "raw_hash": "18120846a09d5054",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/a/ain.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.6.0",
  "versioned_formulae": [],
  "why_use_this": null
}