# tygo を Homebrew, Nix でインストール

tygo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:tygo
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tygo
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tygo
```

  証拠: nixpkgs package indexes: pkgs/by-name/ty/tygo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:tygo
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.2.21
- **ソース概要:** Generate Typescript types from Golang source code
- **ホームページ:** <https://github.com/gzuidhof/tygo>
- **リポジトリ:** <https://github.com/gzuidhof/tygo>
- **最終更新:** 2026-07-26T03:12:24+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tygo (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.2.21
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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.

### ソース

- <https://api.github.com/repos/gzuidhof/tygo>
- <https://github.com/gzuidhof/tygo#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Unix: tygo.yaml
## 他のパッケージマネージャ記録

- Nix - tygo: normalized package name match | nixpkgs package indexes: pkgs/by-name/ty/tygo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tygo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tygo.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
