Automic VaultAutomic Vault

brew

Install terraform-provider-libvirt with Homebrew

Terraform provisioning with Linux KVM using libvirt. Version 0.9.8 via Homebrew; verified 2026-05-31.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install terraform-provider-libvirt

local Homebrew formula metadata

overview

Package summary

Terraform provisioning with Linux KVM using libvirt

Commands and aliases

  • terraform-provider-libvirt

history

Project history and usage

terraform-provider-libvirt is a Terraform provider for managing local or remote libvirt virtualization resources such as virtual machines, networks, storage pools, and volumes.

Project history

The project dates to February 2016, making it one of the older community Terraform providers for local virtualization. Its purpose is to let Terraform manage Linux KVM/libvirt infrastructure through provider resources rather than ad hoc shell scripts or virt-manager workflows.

The current README describes v0.9.0 and later as a complete rewrite of the legacy provider. The legacy v0.8 branch remains available, while the rewritten provider is built on the Terraform Plugin Framework and models libvirt XML schemas more directly through libvirtxml.

Adoption history

The provider has long occupied a practical niche for homelab, workstation, CI, and private-cloud users who want Terraform workflows without a public cloud control plane. The GitHub repository has a large star count for a community provider, and Homebrew packages current releases as a convenient way to install the provider binary outside Terraform's normal provider installer paths.

Its documentation now points users to both the Terraform Registry and the OpenTofu registry, reflecting the post-Terraform-fork packaging world where provider consumers may use either registry ecosystem.

How it is used

Users declare `dmacvicar/libvirt` as a required provider and configure a libvirt URI such as `qemu:///system`, `qemu+ssh://.../system`, `qemu+sshcmd://.../system`, or `qemu+tls://.../system`. The provider then manages domains, networks, pools, and volumes using HCL that maps closely to libvirt XML.

The README also documents local development installation under `~/.terraform.d/plugins/registry.terraform.io/dmacvicar/libvirt/dev/linux_amd64/` with a Terraform CLI dev override, which matters to packagers and provider developers testing local builds.

Why package nerds care

For package nerds, terraform-provider-libvirt is a classic non-cloud Terraform provider with awkward packaging edges: it is both a Terraform registry provider and a Homebrew formula, depends on libvirt concepts, and bridges the Terraform provider installation model with local virtualization workflows.

Timeline

  • 2016: GitHub repository created.
  • 2026: v0.9.x releases continue the rewritten Terraform Plugin Framework provider line.
  • 2026: Homebrew packages v0.9.8.

Related projects

  • libvirt, KVM, and QEMU are the virtualization stack managed by the provider.
  • Terraform Registry and OpenTofu Registry are the documented provider distribution surfaces.

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:provision

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
terraform-provider-libvirtcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.9.8
manager updated2026-05-31
local dataok
upstreamcurrent
latest detectedv0.9.8

https://github.com/dmacvicar/terraform-provider-libvirt

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:terraform-provider-libvirt
Version0.9.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/terraform-provider-libvirt
Homepagehttps://github.com/dmacvicar/terraform-provider-libvirt
Repositoryhttps://github.com/dmacvicar/terraform-provider-libvirt
Upstream docshttps://github.com/dmacvicar/terraform-provider-libvirt#readme
LicenseApache-2.0
Source archivehttps://github.com/dmacvicar/terraform-provider-libvirt/archive/refs/tags/v0.9.8.tar.gz
Last updated2026-05-31T16:11:41Z
Pulseupdated
Dependencieslibvirt
Build dependenciesgo, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment