# k0sctl を Homebrew, apk, MacPorts, Nix, zypper, winget でインストール

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

## インストール

```sh
sudo av install brew:k0sctl
```

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

### macOS

- Homebrew (100%):

```sh
brew install k0sctl
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install k0sctl
```

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

### Linux

- apk (92%):

```sh
sudo apk add k0sctl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#k0sctl
```

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

- zypper (92%):

```sh
sudo zypper install k0sctl
```

  証拠: openSUSE Tumbleweed package metadata: k0sctl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id k0sproject.k0sctl -e
```

  証拠: Windows Package Manager source index: k0sproject.k0sctl from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:k0sctl
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/k0sctl>
- **バージョン:** 0.32.1
- **ソース概要:** Bootstrapping and management tool for k0s clusters
- **ホームページ:** <https://github.com/k0sproject/k0sctl>
- **リポジトリ:** <https://github.com/k0sproject/k0sctl>
- **上流ドキュメント:** <https://docs.k0sproject.io/stable/k0sctl-install>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/k0sproject/k0sctl/archive/refs/tags/v0.32.1.tar.gz>
- **最終更新:** 2026-07-06T14:02:59Z
- **生成日時:** 2026-07-26T07:20:29+00:00

## 実行可能ファイル

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

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-07-26
- マネージャ版: 0.32.1
- マネージャ更新日: 2026-07-06
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/k0sproject/k0sctl
- 検出された最新: v0.32.1 (最新)
## プロジェクトの歴史と使われ方

k0sctl is the companion command-line bootstrap and lifecycle tool for k0s Kubernetes clusters, using SSH and a YAML cluster definition to configure hosts and deploy k0s.

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

k0sctl appeared with the k0s project after k0s began public releases in November 2020. Its early 2021 releases established the `k0sctl apply` workflow: describe hosts and desired cluster state in `k0sctl.yaml`, then let the tool connect over SSH and converge the cluster.

The k0s documentation positioned k0sctl as an automatic and repeatable way to create multi-node and production clusters, making it part of the official installation story rather than a third-party convenience script.

### 採用の歴史

Adoption follows k0s adoption: users who want a small Kubernetes distribution but do not want to hand-roll SSH loops, install commands, token exchange, and kubeconfig retrieval can use k0sctl as the repeatable wrapper.

### 使われ方

The main workflow is `k0sctl apply`, pointed at a `k0sctl.yaml` file in the working directory or another path passed with `--config`. The tool gathers host state through SSH, installs k0s, joins nodes, and can generate kubeconfig output.

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

k0sctl is a good example of a package-manager-friendly infrastructure binary: one statically distributed CLI, a declarative local YAML file, no daemon, and behavior that turns a cluster installation process into a repeatable command.

### タイムライン

- 2020: k0s made its initial public release in November.
- 2021: k0sctl v0.4.0 was published in February.
- 2021: k0s documentation for v1.21.0+k0s.0 recommended k0sctl for production cluster installation and automatic upgrades.

### Related projects

- k0sctl is tightly coupled to k0s, and sits in the same broad Kubernetes bootstrap space as k3sup, kubeadm wrappers, and other SSH-driven cluster installers.

### ソース

- <https://docs.k0sproject.io/stable/k0sctl-install>
- <https://docs.k0sproject.io/v1.21.0%2Bk0s.0/k0sctl-install/>
- <https://github.com/k0sproject/k0s>
- <https://github.com/k0sproject/k0sctl>
- <https://github.com/k0sproject/k0sctl/releases/tag/v0.4.0>


## セキュリティノート

k0sctl に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



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

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** k0sctl
- **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 - k0sctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/k0/k0sctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - k0sctl - 0.30.1-r0: normalized package name match | Alpine Linux edge package indexes: k0sctl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bootstrapping and management tool for k0s clusters | https://github.com/k0sproject/k0sctl
- apk - k0sctl-bash-completion - 0.30.1-r0: normalized package name match | Alpine Linux edge package indexes: k0sctl-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for k0sctl | https://github.com/k0sproject/k0sctl
- apk - k0sctl-fish-completion - 0.30.1-r0: normalized package name match | Alpine Linux edge package indexes: k0sctl-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for k0sctl | https://github.com/k0sproject/k0sctl
- apk - k0sctl-zsh-completion - 0.30.1-r0: normalized package name match | Alpine Linux edge package indexes: k0sctl-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for k0sctl | https://github.com/k0sproject/k0sctl
- zypper - k0sctl - 0.30.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: k0sctl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A bootstrapping and management tool for k0s clusters | https://github.com/k0sproject/k0sctl
- zypper - k0sctl-bash-completion - 0.30.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: k0sctl-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for k0sctl | https://github.com/k0sproject/k0sctl
- zypper - k0sctl-fish-completion - 0.30.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: k0sctl-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for k0sctl | https://github.com/k0sproject/k0sctl
- zypper - k0sctl-zsh-completion - 0.30.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: k0sctl-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh Completion for k0sctl | https://github.com/k0sproject/k0sctl
- MacPorts - k0sctl: normalized package name match | MacPorts ports tree: sysutils/k0sctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - k0sproject.k0sctl: normalized package name match | Windows Package Manager source index: k0sproject.k0sctl from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Cloud CLI packages](https://www.automicvault.com/ja/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [k3sup](https://www.automicvault.com/ja/pkg/brew/k3sup/) - Shares av.db curated category or tags: bootstrap, cli, cloud-infrastructure, kubernetes, ssh.
- [clusterctl](https://www.automicvault.com/ja/pkg/brew/clusterctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [cmctl](https://www.automicvault.com/ja/pkg/brew/cmctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [k9s](https://www.automicvault.com/ja/pkg/brew/k9s/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [kops](https://www.automicvault.com/ja/pkg/brew/kops/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [kty](https://www.automicvault.com/ja/pkg/brew/kty/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, ssh.
- [kubernetes-cli](https://www.automicvault.com/ja/pkg/brew/kubernetes-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [ocm](https://www.automicvault.com/ja/pkg/brew/ocm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [osdctl](https://www.automicvault.com/ja/pkg/brew/osdctl/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cluster, cluster-management.
- [rancher-cli](https://www.automicvault.com/ja/pkg/brew/rancher-cli/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cluster, cluster-management.
- [flintrock](https://www.automicvault.com/ja/pkg/brew/flintrock/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cluster, cluster-management.

## Combined YAML source

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


## ソース

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- 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
