# aztfexport mit Homebrew, Nix, scoop, winget installieren

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

## Installation

```sh
sudo av install brew:aztfexport
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install aztfexport
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#aztfexport
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/aztfexport
```

  Evidenz: Scoop official bucket manifest trees: bucket/aztfexport.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Microsoft.Azure.AztfExport -e
```

  Evidenz: Windows Package Manager source index: Microsoft.Azure.AztfExport from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:aztfexport
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/aztfexport>
- **Version:** 0.19.0
- **Quellzusammenfassung:** Bring your existing Azure resources under the management of Terraform
- **Homepage:** <https://azure.github.io/aztfexport/>
- **Repository:** <https://github.com/Azure/aztfexport>
- **Upstream-Dokumentation:** <https://github.com/Azure/aztfexport>
- **Lizenz:** MPL-2.0
- **Quellarchiv:** <https://github.com/Azure/aztfexport.git>
- **Generiert:** 2026-07-08T07:18:31+00:00

## Executables

- aztfexport (cli)
- aztfexport (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

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

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 0.19.0
- lokale Daten: OK
- Upstream-Repository: https://github.com/Azure/aztfexport
- Info: No package-manager update timestamp was available.
- Info: No cached GitHub release or tag data was available.
## Projektgeschichte und Nutzung

Azure Export for Terraform, packaged as `aztfexport`, is Microsoft's CLI for bringing existing Azure resources under Terraform management. It addresses the awkward middle state many cloud teams reach: infrastructure exists in Azure, Terraform is the desired control plane, and manually writing imports plus HCL for every resource is error-prone work.

### Projektgeschichte

The Azure/aztfexport repository was created in August 2021, with v0.0.1 published the same month. The official README states the goal directly: export supported Azure resources into Terraform state and generate corresponding Terraform configuration so that `terraform plan` shows no diff against remote state.

The tool's implementation history is closely tied to the Terraform Azure ecosystem. The README says it supports both the Terraform AzureRM provider and Azure AzAPI provider, uses `aztft` to identify Terraform resource types from Azure resource IDs, runs `terraform import` under the hood, and then uses `tfadd` to generate Terraform HCL from state.

The release stream moved quickly through early 0.x releases in 2021 and 2022, reached v0.12.0 in May 2023, and continued through v0.19.0 in January 2026. Microsoft Learn now hosts scenario-oriented Azure Export for Terraform documentation alongside the GitHub README.

### Adoptionsgeschichte

The official README documents several install paths: GitHub releases, `go install`, WinGet, Homebrew for Linux/macOS, Microsoft package repositories for dnf and apt, and AUR. The batch input also lists Homebrew, Nix, Scoop, and WinGet, which reflects its audience across Terraform-heavy local development, Windows admin desktops, and Linux automation environments.

### Wie es verwendet wird

Users run `aztfexport` against Azure resources or resource groups to produce Terraform state and configuration, with Terraform itself required on PATH. The generated HCL is explicitly scoped: it is meant to be consistent with remote state and suitable for management, not guaranteed to be a complete reproducible design for the infrastructure.

The tool creates `~/.aztfexport/config.json` for settings managed by `aztfexport config`, including an installation id and telemetry opt-out setting.

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

Aztfexport is important to package nerds because it packages a messy import workflow into a repeatable CLI while still depending on a real Terraform binary. That makes versioning and distribution matter: the user is coordinating the Azure CLI/auth environment, Terraform, provider behavior, and this exporter.

It is also a good example of a cloud-vendor tool that grew around community-adjacent components. Microsoft owns the CLI, but the README openly names `aztft` and `tfadd` as the engines behind provider-type detection and HCL generation.

### Zeitleiste

- 2021: Azure/aztfexport repository created.
- 2021: v0.0.1 release published.
- 2022: v0.8.0 release published.
- 2023: v0.12.0 and v0.14.0 releases published.
- 2026: v0.19.0 release published.

### Related projects

- The README explicitly relates Azure Export for Terraform to Terraform, the Terraform AzureRM provider, the Terraform AzAPI provider, aztft, and tfadd.

### Quellen

- GitHub releases API lists v0.0.1 on 2021-08-28 and v0.19.0 on 2026-01-27.
- GitHub repository metadata: created_at 2021-08-14.
- Microsoft Learn provides official Azure Export for Terraform overview and advanced scenario docs.
- Official README documents goal, providers, Terraform import workflow, dependencies, install paths, config file, and limitations.
- input.source_facts.package-manager lists Homebrew, Nix, Scoop, and WinGet packaging.


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals


## 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: ~/.aztfexport/config.json
## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aztfexport
- **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 - aztfexport: normalized package name match | nixpkgs package indexes: pkgs/by-name/az/aztfexport/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/aztfexport: normalized package name match | Scoop official bucket manifest trees: bucket/aztfexport.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Microsoft.Azure.AztfExport: normalized package name match | Windows Package Manager source index: Microsoft.Azure.AztfExport from https://cdn.winget.microsoft.com/cache/source.msix


## Verwandte Links

- [Cloud CLI packages](https://www.automicvault.com/de/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/de/pkg/brew/go/) - Build dependency declared by Homebrew.
- [terracognita](https://www.automicvault.com/de/pkg/brew/terracognita/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure, terraform.
- [aiac](https://www.automicvault.com/de/pkg/brew/aiac/) - Shares av.db curated category or tags: cli, cloud-infrastructure, terraform.
- [atlantis](https://www.automicvault.com/de/pkg/brew/atlantis/) - Shares av.db curated category or tags: cli, cloud-infrastructure, terraform.
- [azcopy](https://www.automicvault.com/de/pkg/brew/azcopy/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [azqr](https://www.automicvault.com/de/pkg/brew/azqr/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [azure-cli](https://www.automicvault.com/de/pkg/brew/azure-cli/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [azure-dev](https://www.automicvault.com/de/pkg/brew/azure-dev/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [azurite](https://www.automicvault.com/de/pkg/brew/azurite/) - Shares av.db curated category or tags: azure, cli, cloud-infrastructure.
- [static-web-apps-cli](https://www.automicvault.com/de/pkg/brew/static-web-apps-cli/) - Local package facts share a topical domain. Shared terms: azure, cli, cloud, cloud-infrastructure, infrastructure.
- [cf-terraforming](https://www.automicvault.com/de/pkg/brew/cf-terraforming/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, existing, infrastructure.

## Combined YAML source

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