# Install aiac with Homebrew, Nix

Artificial Intelligence Infrastructure-as-Code Generator. Version 5.3.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:aiac
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install aiac
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#aiac
```

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

## Package facts

- **Package key:** brew:aiac
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/aiac>
- **Version:** 5.3.0
- **Source summary:** Artificial Intelligence Infrastructure-as-Code Generator
- **Homepage:** <https://github.com/gofireflyio/aiac>
- **Repository:** <https://github.com/gofireflyio/aiac>
- **Upstream docs:** <https://github.com/gofireflyio/aiac#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/gofireflyio/aiac/archive/refs/tags/v5.3.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- aiac (cli)
- aiac (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.3.0
- Local data: ok
- Upstream repository: https://github.com/gofireflyio/aiac
- Upstream latest detected: v5.3.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

AIaC is Firefly's Artificial Intelligence Infrastructure-as-Code Generator, a Go CLI and library that asks LLM providers to generate Terraform, Pulumi, CloudFormation, Kubernetes manifests, CI/CD pipelines, policy-as-code, shell utilities, and related infrastructure snippets.

### Project history

The GitHub repository was created in December 2022 and the first listed release, v1.0.0, was published that month. The project appeared during the first wave of developer CLIs built around general-purpose LLM APIs, but narrowed the prompt domain to infrastructure and cloud operations.

The README documents both CLI and library usage, and later versions added a backend-oriented configuration model. By the v5 README, AIaC could define multiple named backends for OpenAI, Amazon Bedrock, Ollama, Azure OpenAI-style endpoints, and related provider settings.

### Adoption history

AIaC's official install instructions include a Homebrew tap, Docker image, go install command, source build, and Arch Linux AUR packages. The supplied package facts list Homebrew and Nix packaging, which fits an infrastructure engineer audience comfortable installing CLIs through multiple channels.

The repository's GitHub metadata shows several thousand stars by the time of this enrichment run, suggesting wider interest than a one-off demo. The release history shows continued releases through v5.3.0 in October 2024.

### How it is used

Users configure one or more LLM backends in ${XDG_CONFIG_HOME}/aiac/aiac.toml, including API keys or profile settings, then run natural-language prompts such as requests for Terraform, Kubernetes manifests, GitHub Actions, OPA policies, AWS CLI commands, or SQL queries.

By default, the CLI prints extracted code and can run interactively, save generated code to output files, write Markdown readmes, run quietly for scripts, or copy results to the clipboard.

### Why package nerds care

AIaC is a useful package-culture artifact from the LLM CLI boom: not a general chat frontend, but a prompt-shaped code generator focused on infrastructure formats that package managers already serve to DevOps users.

Its configuration model also shows the rapid shift from a single OpenAI-key CLI toward pluggable LLM backends, local model support, and provider-specific settings.

### Timeline

- 2022: GitHub repository created and v1.0.0 released.
- 2023: v2 releases shipped in the first half of the year.
- 2024: v4 releases shipped, followed by v5.0.0 in June.
- 2024: v5.3.0 released in October.

### Related projects

- AIaC is related to Terraform, Pulumi, CloudFormation, Kubernetes, CI/CD systems, OPA, and cloud-provider CLIs as output targets rather than replacements.
- The README names OpenAI, Amazon Bedrock, and Ollama as supported LLM provider backends.

### Sources

- <https://api.github.com/repos/gofireflyio/aiac>
- <https://api.github.com/repos/gofireflyio/aiac/releases?per_page=100>
- <https://github.com/gofireflyio/aiac#readme>
- source_facts.package-manager


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration 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: ${XDG_CONFIG_HOME}/aiac/aiac.toml, ~/.config/aiac/aiac.toml

## Credential files

- Unix: ${XDG_CONFIG_HOME}/aiac/aiac.toml, ~/.config/aiac/aiac.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aiac
- **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

## Other Package-Manager Records

- Nix - aiac: normalized package name match | nixpkgs package indexes: pkgs/by-name/ai/aiac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [kuzco](https://www.automicvault.com/pkg/brew/kuzco/) - Shares av.db curated category or tags: ai, cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cdktf](https://www.automicvault.com/pkg/brew/cdktf/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [pug](https://www.automicvault.com/pkg/brew/pug/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terracognita](https://www.automicvault.com/pkg/brew/terracognita/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terraform-local](https://www.automicvault.com/pkg/brew/terraform-local/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terraformer](https://www.automicvault.com/pkg/brew/terraformer/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [yor](https://www.automicvault.com/pkg/brew/yor/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cdk8s](https://www.automicvault.com/pkg/brew/cdk8s/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.

## Combined YAML source

View the package source record on GitHub. [combined/aiac.yml](https://github.com/automic-vault/db/blob/main/combined/aiac.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
