# ain を Homebrew, MacPorts, Nix でインストール

ain のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ain
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ain
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:ain
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ain>
- **バージョン:** 1.6.0
- **ソース概要:** HTTP API client for the terminal
- **ホームページ:** <https://github.com/jonaslu/ain>
- **リポジトリ:** <https://github.com/jonaslu/ain>
- **上流ドキュメント:** <https://github.com/jonaslu/ain>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/jonaslu/ain/archive/refs/tags/v1.6.0.tar.gz>
- **生成日時:** 2026-07-09T07:20:21+00:00

## 実行可能ファイル

- ain (cli)
- ain (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-09
- マネージャ版: 1.6.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/jonaslu/ain
- 検出された最新: v1.6.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- 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
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
