macOS
brew install kolocal Homebrew formula metadata
sudo port install koMacPorts ports tree · devel/ko/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ko pour les workflows d'agents IA.
installation
brew install kolocal Homebrew formula metadata
sudo port install koMacPorts ports tree · devel/ko/Portfile · Source: api.github.com
sudo apk add koAlpine Linux edge package indexes · ko · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#konixpkgs package indexes · pkgs/by-name/ko/ko/package.nix · Source: api.github.com
sudo pacman -S koArch Linux sync databases · ko · Source: geo.mirror.pkgbuild.com
scoop install main/koScoop official bucket manifest trees · bucket/ko.json · Source: api.github.com
aperçu
Build and deploy Go applications on Kubernetes
historique
ko is a Go-focused container image builder for developers who want OCI images without writing Dockerfiles or running Docker locally. Its Homebrew package is a small CLI, but it sits at the intersection of Go modules, Kubernetes manifests, registries, SBOMs, and supply-chain tooling.
The project grew out of Google experience building Docker and Kubernetes support for Bazel. Its README describes ko as a simple, fast container image builder that effectively runs `go build` locally, then packages the resulting binary into an image without requiring Docker.
By 2022, the project had moved into the ko-build GitHub organization and the ko.build documentation domain. A 2022-08-19 migration issue laid out the repository move from google/ko to github.com/ko-build, the ko.build vanity import path, image-name changes, and a Slack channel rename. On 2022-10-11, Google announced that it had submitted ko for CNCF Sandbox consideration.
ko's adoption followed the rise of Go-based cloud-native services that can ship as mostly static binaries. The Google Open Source announcement described growing use by open source and enterprise teams and integration into third-party CI/CD tools.
Package-manager adoption is useful because ko is often installed in developer shells, GitHub Actions, release jobs, and Kubernetes workflows. Its companion setup-ko action made it easy to bootstrap the CLI in CI, while Homebrew, MacPorts, Nix, Arch, Alpine, and Scoop packaging made it available outside a single vendor ecosystem.
The common workflow is `ko build` or `ko resolve`: build Go packages into images, push them to a registry, and optionally rewrite Kubernetes YAML with the produced image references. The docs emphasize no Docker daemon requirement, multi-platform images, SBOM generation, Kubernetes integration, build cache support, and registry authentication through ko login or surrounding CI credentials.
It is particularly attractive for Go services with few operating-system package dependencies. That constraint is part of the tool's appeal: it turns the boring case of a static Go binary into a very short path from source to signed or traceable container artifact.
ko is the package-index shorthand for a whole cloud-native philosophy: build the thing the language already knows how to build, then wrap it as an OCI image with minimal ceremony. It competes less with Docker itself than with Dockerfile boilerplate, bespoke CI shell scripts, and build-system plugins.
For maintainers, it is also a clean example of a single-purpose CLI whose value comes from integration points: Go, registries, Kubernetes, SBOMs, GitHub Actions, and module import paths.
posture de sécurité
infrastructure mutation or orchestration signal.
risque orange · confiance moyen · infrastructure
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
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.
Config paths the tool may read or write during local use.
.ko.yamlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
ko | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/ko-build/ko
métadonnées d'installation
| Clé du paquet | brew:ko |
|---|---|
| Version | 0.19.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/ko |
| Page d'accueil | https://ko.build |
| Dépôt | https://github.com/ko-build/ko |
| Docs amont | https://ko.build/ |
| Licence | Apache-2.0 |
| Archive source | https://github.com/ko-build/ko/archive/refs/tags/v0.19.1.tar.gz |
| Dernière mise à jour | 2026-06-29T16:04:29Z |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ko |
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
ko
nix profile install nixpkgs#koko 0.17.1-r15
Build containers from Go projects
sudo apk add koko-bash-completion 0.17.1-r15
Bash completions for ko
sudo apk add ko-bash-completionko-fish-completion 0.17.1-r15
Fish completions for ko
sudo apk add ko-fish-completionko-zsh-completion 0.17.1-r15
Zsh completions for ko
sudo apk add ko-zsh-completionko 0.18.1-2
Build and deploy Go container images
https://github.com/ko-build/ko
sudo pacman -S koko
sudo port install komain/ko
scoop install main/kopiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.