macOS
brew install tygolocal Homebrew formula metadata
brew / rank 8914
Generate Typescript types from Golang source code. Version 0.2.21 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#tygo.
install
brew install tygolocal Homebrew formula metadata
nix profile install nixpkgs#tygonixpkgs package indexes · pkgs/by-name/ty/tygo/package.nix · source: api.github.com
overview
Generate Typescript types from Golang source code
history
tygo is a Go code generator that produces TypeScript types from Go source packages.
The official GitHub repository was created in March 2022. Its README documents generation of TypeScript interfaces, enums or unions, generic types, embedded fields, and YAML-aware typings from Go declarations.
The official README documents installation with `go install`, while source_facts.package-manager records Homebrew and Nix packages, giving the tool both native Go and system-package distribution paths.
Users create `tygo.yaml` in a project, list Go packages and type mappings, then run `tygo generate`; library users can also construct a Config and invoke the generator from Go code.
tygo bridges Go and TypeScript in mixed-language projects while remaining a single CLI installable through the Go toolchain or system package managers.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to 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.
tygo.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tygo | executable | indexed executable | Discovered from the local executable index. |
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:tygo |
|---|---|
| Version | 0.2.21 |
| Package manager | Homebrew |
| Homepage | https://github.com/gzuidhof/tygo |
| Repository | https://github.com/gzuidhof/tygo |
| Last updated | 2026-07-26T03:12:24+02:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
tygo
nix profile install nixpkgs#tygosource 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.