Automic VaultAutomic Vault

brew

Installer terraform-docs avec Homebrew, MacPorts, Nix, chocolatey, scoop, winget

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install terraform-docs

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install terraform-docs

MacPorts ports tree · devel/terraform-docs/Portfile · Source: api.github.com

Linux

Nixvérifié · 92%
nix profile install nixpkgs#terraform-docs

nixpkgs package indexes · pkgs/by-name/te/terraform-docs/package.nix · Source: api.github.com

Windows

Chocolateyvérifié · 92%
choco install Terraform-Docs

Chocolatey community package catalog · Terraform-Docs · Source: community.chocolatey.org

Scoopvérifié · 92%
scoop install main/terraform-docs

Scoop official bucket manifest trees · bucket/terraform-docs.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id Terraform-docs.Terraform-docs -e

Windows Package Manager source index · Terraform-docs.Terraform-docs · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Tool to generate documentation from Terraform modules

Commandes et alias

  • terraform-docs

historique

Historique du projet et usages

terraform-docs is a Terraform module documentation generator. It reads module inputs, outputs, providers, requirements, and related metadata, then renders that information into Markdown, AsciiDoc, JSON, YAML, XML, TOML, or other output formats for README files and automation workflows.

Historique du projet

The terraform-docs/terraform-docs repository was created on GitHub in June 2016, during the period when Terraform modules were becoming a common unit of infrastructure reuse. Its own README describes the project as a utility to generate documentation from Terraform modules in various output formats, and the dedicated terraform-docs.io documentation site grew into the primary user guide.

The project published v0.0.1 in June 2016 and continued as a Go CLI distributed through GitHub releases, Homebrew, Scoop, Chocolatey, Docker images, and `go install`. Later releases added a formal YAML configuration file, recursive module support, output injection, and richer formatter behavior, turning the tool from a README helper into a standard module-maintenance step.

Historique d'adoption

terraform-docs became widely adopted because Terraform modules need documentation that stays synchronized with code. The official README documents direct binary use, Docker use, a GitHub Action, and a pre-commit hook, which reflects its common adoption path in teams that gate infrastructure pull requests on generated README changes.

The package-manager footprint is broad for a Terraform adjunct CLI: the input package facts list Homebrew, Chocolatey, MacPorts, Nix, Scoop, and winget packaging. That breadth is consistent with a tool used by both local developers and CI systems rather than only by one language ecosystem.

Modes d'utilisation

The usual workflow is to run `terraform-docs` against a module directory and write or inject generated documentation into README.md. The README example uses `terraform-docs markdown table --output-file README.md --output-mode inject /path/to/module`, while the configuration guide documents `.terraform-docs.yml` discovery from the module root, `.config` subdirectories, the current directory, and `$HOME/.tfdocs.d/`.

In package-manager culture, terraform-docs is often installed as a single binary and pinned in pre-commit or CI. Its value is not only the rendered docs, but the reproducibility: maintainers can regenerate module docs from source and detect drift during review.

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

terraform-docs is significant because it sits at the boundary between infrastructure-as-code and documentation-as-build-artifact. It gives Terraform module authors the kind of generated reference material that language package maintainers expect from API-doc tools, but in a standalone CLI that system package managers can distribute.

For Homebrew and other package-manager users, it is a classic small Go tool with high leverage: one executable, no service dependency, and obvious CI/pre-commit use. That makes it a common companion to Terraform, tflint, checkov, and other infrastructure review tools.

Chronologie

  • 2016: GitHub repository created.
  • 2016: v0.0.1 released.
  • 2017: v0.1.0 and v0.3.0 released.
  • 2020: Configuration options documented as available since v0.10.0.
  • 2021: `.config` lookup paths documented as available since v0.15.0.
  • 2026: v0.24.0 listed as the latest GitHub release during research.

Related projects

  • The official README documents a companion terraform-docs GitHub Action and pre-commit hook integration. It also fits into the wider Terraform module ecosystem, where generated README sections are commonly checked alongside Terraform source.

posture de sécurité

Aucune couverture d'outil protégé trouvée pour le moment

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour terraform-docs. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
<module-root>/.terraform-docs.yml<module-root>/.config/.terraform-docs.yml./.terraform-docs.yml./.config/.terraform-docs.yml~/.tfdocs.d/.terraform-docs.yml

exécutables

Exécutables installés

CommandeTypeExpositionNote
terraform-docscliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-26
version du gestionnaire0.24.0
gestionnaire mis à jour2026-05-11
données localesOK
amontà jour
dernière version détectéev0.24.0

https://github.com/terraform-docs/terraform-docs

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:terraform-docs
Version0.24.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/terraform-docs
Page d'accueilhttps://terraform-docs.io/
Dépôthttps://github.com/terraform-docs/terraform-docs
Docs amonthttps://terraform-docs.io/
LicenceMIT
Archive sourcehttps://github.com/terraform-docs/terraform-docs/archive/refs/tags/v0.24.0.tar.gz
Dernière mise à jour2026-05-11T00:44:30Z
Pulseupdated
Dépendances de compilationgo
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterraform-docs
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

terraform-docs

nix profile install nixpkgs#terraform-docs
  • normalized package name match
  • Correspondance par : Terraform Docs
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terraform-docs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

terraform-docs

sudo port install terraform-docs
  • normalized package name match
  • Correspondance par : Terraform Docs
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/terraform-docs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

Terraform-Docs

choco install Terraform-Docs
  • normalized package name match
  • Correspondance par : Terraform Docs
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: Terraform-Docs from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','telegram.install'
Scoop95%

main/terraform-docs

scoop install main/terraform-docs
  • normalized package name match
  • Correspondance par : Terraform Docs
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/terraform-docs.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Terraform-docs.Terraform-docs

winget install --id Terraform-docs.Terraform-docs -e
  • normalized package name match
  • Correspondance par : Terraform Docs
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Terraform-docs.Terraform-docs from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

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