# Install templ

Language for writing HTML user interfaces in Go. Version 0.3.1020 via Homebrew; verified 2026-05-10.

## Install

```sh
sudo av install brew:templ
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install templ
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add templ
```

  Evidence: Alpine Linux edge package indexes: templ from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#templ
```

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

## Package Facts

- **Package key:** brew:templ
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/templ>
- **Version:** 0.3.1020
- **Source summary:** Language for writing HTML user interfaces in Go
- **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
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- templ (cli)
- templ (alias)

## Build Dependencies

- go

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.3.1020
- Package-manager updated: 2026-05-10
- Local data status: ok
- Upstream repository: https://github.com/a-h/templ
- Upstream latest detected: v0.3.1020 (current)

## 安全说明

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

- **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:** stable

## Other Package-Manager Records

- Nix - templ: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/templ/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - templ - 0.3.960-r6: normalized package name match | Alpine Linux edge package indexes: templ from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Language for writing HTML user interface in Go | https://templ.guide/


## Related Links

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [tidy-html5](https://www.automicvault.com/zh-hans/pkg/brew/tidy-html5/) - Shares av.db curated category or tags: cli, developer-tools, html, web-development.
- [angular-cli](https://www.automicvault.com/zh-hans/pkg/brew/angular-cli/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [vite](https://www.automicvault.com/zh-hans/pkg/brew/vite/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [minify](https://www.automicvault.com/zh-hans/pkg/brew/minify/) - Shares av.db curated category or tags: cli, developer-tools, html, web-development.
- [gatsby-cli](https://www.automicvault.com/zh-hans/pkg/brew/gatsby-cli/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [serve](https://www.automicvault.com/zh-hans/pkg/brew/serve/) - Shares av.db curated category or tags: cli, developer-tools, go, web-development.
- [js-beautify](https://www.automicvault.com/zh-hans/pkg/brew/js-beautify/) - Shares av.db curated category or tags: cli, developer-tools, html, web-development.
- [nuxi](https://www.automicvault.com/zh-hans/pkg/brew/nuxi/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [livereload](https://www.automicvault.com/zh-hans/pkg/brew/livereload/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, development, server.

## Sources

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