pkg.soopen package index

brew / rank 8905

Install tygo with Homebrew, Nix

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

Additional install commands

macOS

Homebrewverified · 100%
brew install tygo

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#tygo

nixpkgs package indexes · pkgs/by-name/ty/tygo/package.nix · source: api.github.com

overview

Package summary

Generate Typescript types from Golang source code

Commands and aliases

  • tygo

history

Project history and usage

tygo is a Go code generator that produces TypeScript types from Go source packages.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

tygo bridges Go and TypeScript in mixed-language projects while remaining a single CLI installable through the Go toolchain or system package managers.

Timeline

  • 2022-03-02: Official GitHub repository created.
  • Current: Official README documents `go install` and tygo.yaml-driven generation.
  • 2026: source_facts.package-manager records Homebrew and Nix packages.

Related projects

  • The Go toolchain supplies source-package loading and the upstream installation route.
  • TypeScript is the generated target language.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 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.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
tygo.yaml

executables

Installed executables

CommandKindExposureNote
tygocliglobal 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-08-04
manager version0.2.21
manager updated2026-07-26
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/gzuidhof/tygo

install metadata

Package metadata

Package keybrew:tygo
Version0.2.21
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tygo
Homepagehttps://github.com/gzuidhof/tygo
Repositoryhttps://github.com/gzuidhof/tygo
LicenseMIT
Source archivehttps://github.com/gzuidhof/tygo.git
Last updated2026-07-26T03:12:24+02:00
Pulseupdated
Build dependenciesgo
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 Nametygo
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

tygo

nix profile install nixpkgs#tygo
  • normalized package name match
  • Matched by: Tygo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ty/tygo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

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
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation