# ain mit Homebrew, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ain in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:ain
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install ain
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ain
```

  Evidenz: MacPorts ports tree: www/ain/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ain
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ai/ain/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:ain
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/ain>
- **Version:** 1.6.0
- **Quellzusammenfassung:** HTTP API client for the terminal
- **Homepage:** <https://github.com/jonaslu/ain>
- **Repository:** <https://github.com/jonaslu/ain>
- **Upstream-Dokumentation:** <https://github.com/jonaslu/ain>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/jonaslu/ain/archive/refs/tags/v1.6.0.tar.gz>
- **Generiert:** 2026-07-09T07:20:21+00:00

## Executables

- ain (cli)
- ain (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-09
- Manager-Version: 1.6.0
- lokale Daten: OK
- Upstream-Repository: https://github.com/jonaslu/ain
- neueste erkannte Version: v1.6.0 (aktuell)
- Info: No package-manager update timestamp was available.
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 2020: Public GitHub repository created.
- 2020s: README documents Go, Homebrew, Scoop, AUR, and binary-release installation paths.
- 2026: Homebrew lists 1.6.0 as stable in checked metadata.

### Related projects

- curl, wget, and httpie, used as request backends.
- Postman, Paw, and Insomnia, named by the README as GUI/API-client alternatives.
- Shell tools such as find, fzf, and environment-variable based workflows.

### Quellen

- <https://formulae.brew.sh/api/formula/ain.json>
- <https://github.com/jonaslu/ain>


## Sicherheitshinweise

broad file, network, media, or database tool signal.

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal


## Configuration and credential file locations

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.


## Configuration files

- Unix: *.ain
## Details aus der Quelldatenbank

- **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:** head, stable

## Andere Paketmanager-Einträge

- Nix - ain: normalized package name match | nixpkgs package indexes: pkgs/by-name/ai/ain/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - ain: normalized package name match | MacPorts ports tree: www/ain/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/de/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/de/pkg/brew/go/) - Build dependency declared by Homebrew.
- [graphqurl](https://www.automicvault.com/de/pkg/brew/graphqurl/) - Shares av.db curated category or tags: api, api-client, cli, developer-tools.
- [httpie](https://www.automicvault.com/de/pkg/brew/httpie/) - Shares av.db curated category or tags: api, api-client, cli, developer-tools.
- [httpyac](https://www.automicvault.com/de/pkg/brew/httpyac/) - Shares av.db curated category or tags: api, api-client, cli, developer-tools.
- [mockserver](https://www.automicvault.com/de/pkg/brew/mockserver/) - Shares av.db curated category or tags: api, cli, developer-tools, http.
- [moco](https://www.automicvault.com/de/pkg/brew/moco/) - Shares av.db curated category or tags: api, cli, developer-tools, http.
- [swagger-codegen](https://www.automicvault.com/de/pkg/brew/swagger-codegen/) - Shares av.db curated category or tags: api, api-client, cli, developer-tools.
- [algolia](https://www.automicvault.com/de/pkg/brew/algolia/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [cliproxyapi](https://www.automicvault.com/de/pkg/brew/cliproxyapi/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [posting](https://www.automicvault.com/de/pkg/brew/posting/) - Local metadata places this package in an adjacent workflow. Shared terms: api, api-client, cli, client, developer.
- [resty](https://www.automicvault.com/de/pkg/brew/resty/) - Local metadata places this package in an adjacent workflow. Shared terms: api, api-client, cli, client, developer.

## Combined YAML source

View the package source record on GitHub. [combined/ain.yml](https://github.com/automic-vault/db/blob/main/combined/ain.yml)


## Quellen

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
