Install this version:
emerge -a =sys-cluster/k9scli-0.50.18
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-cluster/k9scli-0.50.18
Or alternatively:
emerge --autounmask-write -a =sys-cluster/k9scli-0.50.18
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
# update this on every bump
GIT_COMMIT=6dbf571c
DESCRIPTION="terminal based UI to manage kubernetes clusters"
HOMEPAGE="https://k9scli.io"
SRC_URI="https://github.com/derailed/k9s/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-golang-dist/k9s/releases/download/v${PV}/k9s-${PV}-vendor.tar.xz"
S=${WORKDIR}/k9s-${PV}
LICENSE="Apache-2.0"
# Dependent licenses
LICENSE+=" Apache-2.0 BSD BSD-2 CC0-1.0 GPL-2 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
BDEPEND=">=dev-lang/go-1.25.8"
src_prepare() {
default
# I will look into opening an upstream PR to do this.
sed -i -e 's/-w -s -X/-X/' Makefile || die
}
src_compile() {
emake GIT_REV=${GIT_COMMIT} VERSION=v${PV} build
}
src_install() {
dobin execs/k9s
dodoc -r change_logs plugins skins README.md
}
>=dev-lang/go-1.25.8
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | k9scli-0.50.18.tar.gz | 6822889 bytes | https://github.com/derailed/k9s/archive/v0.50.18.tar.gz |