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

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

## インストール

```sh
sudo av install brew:kty
```

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

### macOS

- Homebrew (100%):

```sh
brew install kty
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kty
```

  証拠: MacPorts ports tree: sysutils/kty/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kty
```

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

## パッケージ情報

- **パッケージキー:** brew:kty
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.3.1
- **ソース概要:** Terminal for Kubernetes
- **ホームページ:** <https://kty.dev>
- **リポジトリ:** <https://github.com/grampelberg/kty>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- kty (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

kty is a Kubernetes terminal that exposes cluster interaction through SSH. Its documentation describes it as a standalone SSH server that maps Kubernetes concepts to familiar SSH workflows such as shells, logs, tunnels, scp, and sftp.

### プロジェクトの歴史

The GitHub repository was created on 2024-07-17. The project is implemented in Rust and documents a server installed into a Kubernetes cluster plus a CLI used to install resources and connect over SSH.

kty's design centers on using OpenID providers such as GitHub or Google for identity, then relying on Kubernetes RBAC and user impersonation so that access follows cluster permissions in a way similar to kubectl authentication plugins.

### 採用の歴史

Public adoption evidence is early and package-manager oriented. The Homebrew formula shows kty being made available to CLI users while the project documentation focuses on installing the server-side cluster resources.

### 使われ方

Users install the kty CLI, install kty resources into a cluster namespace, and connect with SSH. The documented workflow can open a TUI dashboard, execute shells in pods, stream logs, forward traffic, and copy files through scp or sftp.

### パッケージ好きにとっての重要性

kty is package-nerd interesting because it replaces a pile of Kubernetes-specific local tooling with the very old SSH user interface. It is also a modern example of distributing a cluster access system as both a local package-manager binary and in-cluster Kubernetes resources.

### タイムライン

- 2024-07-17: grampelberg/kty repository created on GitHub.
- 2024: kty documentation site identified the project as copyright 2024.
- 2026: Homebrew formula metadata listed kty as a packaged CLI.

### Related projects

- kty is related to kubectl, Kubernetes RBAC, OpenID Connect providers, OpenSSH-style clients, pod exec/log APIs, Kubernetes Services, and port-forwarding workflows.

### ソース

- <https://api.github.com/repos/grampelberg/kty>
- <https://formulae.brew.sh/formula/kty>
- <https://github.com/grampelberg/kty>
- <https://kty.dev/>
- <https://kty.dev/architecture>
- <https://kty.dev/getting-started>
- <https://raw.githubusercontent.com/grampelberg/kty/main/README.md>


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal

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

- Nix - kty: normalized package name match | nixpkgs package indexes: pkgs/by-name/kt/kty/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - kty: normalized package name match | MacPorts ports tree: sysutils/kty/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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