macOS
brew install terraform-docslocal Homebrew formula metadata
sudo port install terraform-docsMacPorts ports tree · devel/terraform-docs/Portfile · Source: api.github.com
brew
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
brew install terraform-docslocal Homebrew formula metadata
sudo port install terraform-docsMacPorts ports tree · devel/terraform-docs/Portfile · Source: api.github.com
nix profile install nixpkgs#terraform-docsnixpkgs package indexes · pkgs/by-name/te/terraform-docs/package.nix · Source: api.github.com
choco install Terraform-DocsChocolatey community package catalog · Terraform-Docs · Source: community.chocolatey.org
scoop install main/terraform-docsScoop official bucket manifest trees · bucket/terraform-docs.json · Source: api.github.com
winget install --id Terraform-docs.Terraform-docs -eWindows Package Manager source index · Terraform-docs.Terraform-docs · Source: cdn.winget.microsoft.com
aperçu
Tool to generate documentation from Terraform modules
historique
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.
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.
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.
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.
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.
posture de sécurité
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.
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
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.
Config paths the tool may read or write during local use.
<module-root>/.terraform-docs.yml<module-root>/.config/.terraform-docs.yml./.terraform-docs.yml./.config/.terraform-docs.yml~/.tfdocs.d/.terraform-docs.ymlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
terraform-docs | cli | exécutable global |
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.
https://github.com/terraform-docs/terraform-docs
métadonnées d'installation
| Clé du paquet | brew:terraform-docs |
|---|---|
| Version | 0.24.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/terraform-docs |
| Page d'accueil | https://terraform-docs.io/ |
| Dépôt | https://github.com/terraform-docs/terraform-docs |
| Docs amont | https://terraform-docs.io/ |
| Licence | MIT |
| Archive source | https://github.com/terraform-docs/terraform-docs/archive/refs/tags/v0.24.0.tar.gz |
| Dernière mise à jour | 2026-05-11T00:44:30Z |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | terraform-docs |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
terraform-docs
nix profile install nixpkgs#terraform-docsterraform-docs
sudo port install terraform-docsTerraform-Docs
choco install Terraform-Docsmain/terraform-docs
scoop install main/terraform-docsTerraform-docs.Terraform-docs
winget install --id Terraform-docs.Terraform-docs -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.