# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tygo>
- **バージョン:** 0.2.21
- **ソース概要:** Generate Typescript types from Golang source code
- **ホームページ:** <https://github.com/gzuidhof/tygo>
- **リポジトリ:** <https://github.com/gzuidhof/tygo>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/gzuidhof/tygo.git>
- **最終更新:** 2026-07-26T03:12:24+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- tygo (cli)
- tygo (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.2.21
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/gzuidhof/tygo
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tygo
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [protoc-gen-go](https://pkg.so/ja/brew/protoc-gen-go/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, go.
- [mockery](https://pkg.so/ja/brew/mockery/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, go.
- [protoc-gen-go-grpc](https://pkg.so/ja/brew/protoc-gen-go-grpc/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, go.
- [sqlc](https://pkg.so/ja/brew/sqlc/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, go.
- [go-bindata](https://pkg.so/ja/brew/go-bindata/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, go.
- [goctl](https://pkg.so/ja/brew/goctl/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, go.
- [go-blueprint](https://pkg.so/ja/brew/go-blueprint/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, go.
- [json2ts](https://pkg.so/ja/brew/json2ts/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, typescript.
- [swagger-typescript-api](https://pkg.so/ja/npm/swagger-typescript-api/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.
- [ts-generator](https://pkg.so/ja/npm/ts-generator/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.
- [ts-json-schema-generator](https://pkg.so/ja/npm/ts-json-schema-generator/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.

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