# click を Homebrew, apk, apt, Nix でインストール

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

## インストール

```sh
sudo av install brew:click
```

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

### macOS

- Homebrew (100%):

```sh
brew install click
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add click
```

  証拠: Alpine Linux edge package indexes: click from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install click
```

  証拠: Debian stable package indexes: click from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#click
```

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

## パッケージ情報

- **パッケージキー:** brew:click
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.6.3
- **ソース概要:** Command-line interactive controller for Kubernetes
- **ホームページ:** <https://github.com/databricks/click>
- **リポジトリ:** <https://github.com/databricks/click>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- click (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Click is Databricks' Command Line Interactive Controller for Kubernetes, a Rust REPL for quickly managing Kubernetes clusters and objects.

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

The GitHub repository was created in July 2017. The README describes Click as a REPL whose active configuration tracks the current Kubernetes context, namespace, and object so commands can be applied without repeatedly specifying targets.

The official changelog labels version 0.3.0 as the first public release. Later releases added richer Kubernetes object support, completion, aliases, ranges, one-off execution, exec-provider authentication, Rust 2021, k8s-openapi, and newer table/rendering dependencies.

### 採用の歴史

Click's official install paths include Cargo and source builds, with an AUR package documented by the README. Input package metadata also lists Homebrew, Debian, Ubuntu, Alpine, and Nix, showing that package-manager distribution expanded beyond the upstream Rust install path.

The GitHub repository metadata showed more than one thousand stars at research time, indicating a visible but specialized Kubernetes operator audience.

### 使われ方

Click reads Kubernetes configuration from `~/.kube/config` by default and honors `KUBECONFIG` when set. It also stores its own configuration in the `.kube` directory, and its prompt tracks context, namespace, and object.

The README documents authentication through tokens, username/password, private key and certificate, and GKE-style auth providers. The changelog shows later support for Azure and OIDC auth providers, CRDs, file copy, cronjobs, daemonsets, persistent volumes, and other operational commands.

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

Click is package-nerd interesting as a Kubernetes-era REPL distributed through Rust's Cargo ecosystem and system package managers. It overlaps with `kubectl`, but optimizes for repeated interactive work across many Kubernetes objects and contexts.

Its packaging story also reflects a familiar CLI arc: first installable from a language package manager, then picked up by OS package managers as Kubernetes operators wanted a normal binary on their PATH.

### タイムライン

- 2017: The GitHub repository is created.
- 2022: GitHub release metadata records v0.6.0; the changelog notes migration to k8s-openapi and Rust 2021.
- 2022: v0.6.2 adds configurable kubectl binary support.
- 2023: v0.6.3 adds experimental Teleport support, cronjob interaction, and a `last` command.

### Related projects

- Kubernetes and kubectl are the core related tools because Click reads kubeconfig files and wraps Kubernetes object workflows.
- Cargo and crates.io are related distribution mechanisms because the README documents `cargo install click`.
- The Arch AUR is a related package channel documented by the README.

### ソース

- <https://github.com/databricks/click#readme>
- <https://github.com/databricks/click/blob/master/CHANGELOG.md>
- <https://api.github.com/repos/databricks/click>
- <https://api.github.com/repos/databricks/click/releases>


## セキュリティノート

infrastructure mutation or orchestration signal.

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


## 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: ~/.kube/config, $KUBECONFIG

## Credential files

- Unix: ~/.kube/config, $KUBECONFIG
## 他のパッケージマネージャ記録

- Debian apt - click - 0.5.2-8: normalized package name match | Debian stable package indexes: click from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool for handling (and building) Click packages | https://gitlab.com/ubports/development/core/click/
- Debian apt - click-dev - 0.5.2-8: normalized package name match | Debian stable package indexes: click-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | build Click packages | https://gitlab.com/ubports/development/core/click/
- Debian apt - click-doc - 0.5.2-8: normalized package name match | Debian stable package indexes: click-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Click packages (documentation) | https://gitlab.com/ubports/development/core/click/
- Debian apt - click-service - 0.5.2-8: normalized package name match | Debian stable package indexes: click-service from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Click packages (privileged service) | https://gitlab.com/ubports/development/core/click/
- Debian apt - gir1.2-click-0.4 - 0.5.2-8: normalized package name match | Debian stable package indexes: gir1.2-click-0.4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GIR bindings for Click package management library | https://gitlab.com/ubports/development/core/click/
- Debian apt - libclick-0.4-0 - 0.5.2-8: normalized package name match | Debian stable package indexes: libclick-0.4-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | run-time Click package management library | https://gitlab.com/ubports/development/core/click/
- Debian apt - libclick-dev - 0.5.2-8: normalized package name match | Debian stable package indexes: libclick-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for Click package management library | https://gitlab.com/ubports/development/core/click/
- Debian apt - python3-click-package - 0.5.2-8: normalized package name match | Debian stable package indexes: python3-click-package from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Click packages (Python 3 interface) | https://gitlab.com/ubports/development/core/click/
- Nix - click: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/click/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - click - 0.5.2-2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: click from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool for handling (and building) Click packages | https://gitlab.com/ubports/development/core/click/
- Ubuntu apt - click-dev - 0.5.2-2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: click-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | build Click packages | https://gitlab.com/ubports/development/core/click/
- Ubuntu apt - click-doc - 0.5.2-2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: click-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Click packages (documentation) | https://gitlab.com/ubports/development/core/click/
- Ubuntu apt - click-service - 0.5.2-2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: click-service from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Click packages (privileged service) | https://gitlab.com/ubports/development/core/click/
- Ubuntu apt - gir1.2-click-0.4 - 0.5.2-2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-click-0.4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GIR bindings for Click package management library | https://gitlab.com/ubports/development/core/click/
- Ubuntu apt - libclick-0.4-0 - 0.5.2-2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libclick-0.4-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | run-time Click package management library | https://gitlab.com/ubports/development/core/click/
- Ubuntu apt - libclick-dev - 0.5.2-2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libclick-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for Click package management library | https://gitlab.com/ubports/development/core/click/


## Combined YAML source

View the package source record on GitHub. [combined/click.yml](https://github.com/mxcl/pkgdb/blob/main/combined/click.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
