macOS
brew install ainlocal Homebrew formula metadata
sudo port install ainMacPorts ports tree · www/ain/Portfile · source: api.github.com
brew
HTTP API client for the terminal. Version 1.6.0 via Homebrew; verified from local package data.
install
brew install ainlocal Homebrew formula metadata
sudo port install ainMacPorts ports tree · www/ain/Portfile · source: api.github.com
nix profile install nixpkgs#ainnixpkgs package indexes · pkgs/by-name/ai/ain/package.nix · source: api.github.com
overview
HTTP API client for the terminal
history
Ain is a terminal HTTP API client that uses template files to assemble requests and then delegates the actual call to curl, wget, or httpie. The README describes it as an alternative to Postman, Paw, or Insomnia for users who prefer files, folders, scripts, and pipes.
The public GitHub repository was created in October 2020. The project is written in Go and centers on a small `.ain` template format with sections such as Host, Query, Headers, Method, Body, Config, Backend, and BackendOptions.
Ain's design goal is explicit in the README: enable scripting of input and further processing of output through terminal pipes. Rather than building its own HTTP stack as the user-facing primitive, it makes curl, wget, or httpie the backend and focuses on request organization.
Official installation instructions cover `go install`, Homebrew, Scoop, AUR binary packages, and manual downloads from GitHub releases. The input package facts also list Homebrew, MacPorts, and Nix packages.
Homebrew listed version 1.6.0 as stable and reported 107 installs over 365 days when checked, suggesting a small but packaged Unix-tool audience.
Users write one or more `.ain` template files, pass them to `ain`, optionally provide variables, and receive output from the selected backend. Templates can be layered across files and directories, making it useful for API collections that still behave like shell files.
Ain has no separate credentials store in the official README. Secrets are normally represented through template variables, environment variables, `.env`-style workflows, scripts, or headers inside user-controlled `.ain` files.
Ain is a classic package-manager-friendly CLI: a single Go executable, no service account, no desktop app, and a plain-text file format. Its appeal is to users who want API-client ergonomics without leaving the shell or losing composability with find, fzf, pipes, curl, wget, and httpie.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
*.ainexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ain | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/jonaslu/ain
install metadata
| Package key | brew:ain |
|---|---|
| Version | 1.6.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ain |
| Homepage | https://github.com/jonaslu/ain |
| Repository | https://github.com/jonaslu/ain |
| Upstream docs | https://github.com/jonaslu/ain |
| License | MIT |
| Source archive | https://github.com/jonaslu/ain/archive/refs/tags/v1.6.0.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ain |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ain
nix profile install nixpkgs#ainain
sudo port install ainsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.