# Installer ain avec Homebrew, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ain pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ain
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ain
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:ain
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/ain>
- **Version:** 1.6.0
- **Résumé source:** HTTP API client for the terminal
- **Page d'accueil:** <https://github.com/jonaslu/ain>
- **Dépôt:** <https://github.com/jonaslu/ain>
- **Docs amont:** <https://github.com/jonaslu/ain>
- **Licence:** MIT
- **Archive source:** <https://github.com/jonaslu/ain/archive/refs/tags/v1.6.0.tar.gz>
- **Généré:** 2026-07-09T07:20:21+00:00

## exécutables

- ain (cli)
- ain (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-09
- version du gestionnaire: 1.6.0
- données locales: OK
- dépôt amont: https://github.com/jonaslu/ain
- dernière version détectée: v1.6.0 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

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


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- 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
## Détails de la base source

- **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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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


## Sources

- 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
