# Install kty with Homebrew, MacPorts, Nix

Terminal for Kubernetes. Version 0.3.1 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kty
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kty
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:kty
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/kty>
- **Version:** 0.3.1
- **Source summary:** Terminal for Kubernetes
- **Homepage:** <https://kty.dev>
- **Repository:** <https://github.com/grampelberg/kty>
- **Upstream docs:** <https://kty.dev/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/grampelberg/kty/archive/refs/tags/v0.3.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- kty (cli)
- kty (alias)

## Build dependencies

- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.3.1
- Local data: ok
- Upstream repository: https://github.com/grampelberg/kty
- Upstream latest detected: v0.3.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kty
- **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

## Other Package-Manager Records

- 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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [k3sup](https://www.automicvault.com/pkg/brew/k3sup/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, ssh.
- [k9s](https://www.automicvault.com/pkg/brew/k9s/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, tui.
- [kubetui](https://www.automicvault.com/pkg/brew/kubetui/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, tui.
- [cdk8s](https://www.automicvault.com/pkg/brew/cdk8s/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [chaoskube](https://www.automicvault.com/pkg/brew/chaoskube/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [click](https://www.automicvault.com/pkg/brew/click/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [cloud-provider-kind](https://www.automicvault.com/pkg/brew/cloud-provider-kind/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [clusterawsadm](https://www.automicvault.com/pkg/brew/clusterawsadm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.

## Combined YAML source

View the package source record on GitHub. [combined/kty.yml](https://github.com/automic-vault/db/blob/main/combined/kty.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
