macOS
brew install templlocal Homebrew formula metadata
brew
Language for writing HTML user interfaces in Go. Version 0.3.1020 via Homebrew; verified 2026-05-10.
install
brew install templlocal Homebrew formula metadata
sudo apk add templAlpine Linux edge package indexes · templ · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#templnixpkgs package indexes · pkgs/by-name/te/templ/package.nix · source: api.github.com
overview
Language for writing HTML user interfaces in Go
history
templ is a Go-focused HTML component language and code generator. Its documentation describes it as a way to build HTML with Go by creating components that render fragments of HTML and compose them into screens, pages, documents, or apps.
The public repository was created in April 2021, and early GitHub releases appeared in May 2021. The README positions the project as an HTML templating language for Go with strong developer tooling, including generated Go code and editor/LSP support.
templ's adoption grew with the renewed interest in server-rendered Go web applications, htmx-style partial updates, and type-checked component composition. Package-manager coverage in Homebrew, Nix, and Alpine reflects its use as a build-time CLI installed alongside Go toolchains.
The official docs say most users run `templ generate` to generate Go code from `*.templ` files. The CLI also provides formatting, an LSP server, environment information, and version reporting; watch/proxy modes support live reload during web development.
For package nerds, templ is notable because the package is primarily a generator executable: projects often commit generated `*_templ.go` files or wire generation into CI, so the tool affects reproducible builds, editor setup, and source packaging.
security posture
No matching local secret-handling manifest was found for templ. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
templ | cli | global executable |
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.
install metadata
| Package key | brew:templ |
|---|---|
| Version | 0.3.1020 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/templ |
| Homepage | https://templ.guide |
| Repository | https://github.com/a-h/templ |
| Upstream docs | https://templ.guide/ |
| License | MIT |
| Source archive | https://github.com/a-h/templ/archive/refs/tags/v0.3.1020.tar.gz |
| Last updated | 2026-05-10T09:31:27Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | templ |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
templ
nix profile install nixpkgs#templtempl 0.3.960-r6
Language for writing HTML user interface in Go
sudo apk add templsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.