github.com/ahmetb/kubectx
v0.11.0
ahmetb/kubectx
What this package is like to depend on
Last release 29 days ago
26 Jul 2026
Release timing varies
gaps range from 2 weeks to 1.2 years
Some releases are documented
notes for 10 of 24 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
63 releases · first in 2017
14 releases in the last 12 months
see the full history below
Release timeline
63 releases · Apr 2017 to Jul 2026Releases
latest 60 of 63-
v0.11.1-0.20260726015127-12ad6fb22e8c26 Jul 2026 pre-releaseNothing published for this version
-
v0.11.1-0.20260719015015-c747d27b4b7d19 Jul 2026 pre-releaseNothing published for this version
-
v0.11.1-0.20260503015135-c8393ea883fb03 May 2026 pre-releaseNothing published for this version
-
v0.11.1-0.20260327031242-9130a99d5ba527 Mar 2026 pre-releaseNothing published for this version
-
v0.11.027 Mar 2026Release notes
Open source →Changelog
- feature:
kubectx -rlaunches a read-only shell where only edits to the cluster via kubectl are prevented. Demo: https://x.com/ahmetb/status/2036830308587241971
- feature:
-
v0.10.3-0.20260326020532-20217f19454026 Mar 2026 pre-releaseNothing published for this version
-
v0.10.3-0.20260325154550-6f8704f9665225 Mar 2026 pre-releaseNothing published for this version
-
v0.10.3-0.20260325032743-d75d282b17a425 Mar 2026 pre-releaseNothing published for this version
-
v0.10.223 Mar 2026 -
v0.10.123 Mar 2026Nothing published for this version
-
v0.10.1-rc.1.0.20260323171848-e4727d38f88923 Mar 2026 pre-releaseNothing published for this version
-
v0.10.1-rc.123 Mar 2026 pre-releaseNothing published for this version
-
v0.10.020 Mar 2026Release notes
Open source →Changelog
More features in the Go implementation of kubectx/kubens! (It's been 2.5 years since the last release.)
Features
kubectx --shell/-s <CONTEXT>spins up an isolated shell where only that context exists! (#461)kubens -f <NAMESPACE>skips checking if namespace exists and switches into it (#416) @idsulikkubens -u/--unsetunsets the current namespace (#440) @jmischler72- kubectx and kubens now respect
$XDG_CACHE_HOME(#478)
Bug Fixes
- kubectx: skip launching fzf when no contexts exist in kubeconfig (#480)
- kubens: skip launching fzf when no contexts exist in kubeconfig (#481)
Full Changelog: v0.9.5...v0.10.0
-
v0.9.6-0.20250122170757-013b6bc252ea22 Jan 2025 pre-releaseNothing published for this version
-
v0.9.6-0.20250107202501-0bcd0d5dd51b07 Jan 2025 pre-releaseNothing published for this version
-
v0.9.6-0.20240710212537-561793c356c010 Jul 2024 pre-releaseNothing published for this version
-
v0.9.6-0.20240415163107-4997a261dca315 Apr 2024 pre-releaseNothing published for this version
-
v0.9.6-0.20231225082851-8fb8c9f2f26325 Dec 2023 pre-releaseNothing published for this version
-
v0.9.6-0.20230804220450-11c19c0fb79904 Aug 2023 pre-releaseNothing published for this version
-
v0.9.514 Jul 2023 -
v0.9.5-0.20230714031227-92e5b5f43b9414 Jul 2023 pre-releaseNothing published for this version
-
v0.9.5-0.20230315233008-7560b8f04f4215 Mar 2023 pre-releaseNothing published for this version
-
v0.9.5-0.20230224200311-d8ff2847baba24 Feb 2023 pre-releaseNothing published for this version
-
v0.9.5-0.20221024190654-29850e1a75cb24 Oct 2022 pre-releaseNothing published for this version
-
v0.9.5-0.20220804154117-7d6b179aed2404 Aug 2022 pre-releaseNothing published for this version
-
v0.9.5-0.20220316070853-e5e7f533364c16 Mar 2022 pre-releaseNothing published for this version
-
v0.9.5-0.20220111050011-e6de7ba0a21511 Jan 2022 pre-releaseNothing published for this version
-
v0.9.5-0.20220109173934-b6b364685ab409 Jan 2022 pre-releaseNothing published for this version
-
v0.9.5-0.20211227055017-617e4f05620527 Dec 2021 pre-releaseNothing published for this version
-
v0.9.5-0.20211128162309-60523045a58028 Nov 2021 pre-releaseNothing published for this version
-
v0.9.5-0.20211128053414-38117be3482228 Nov 2021 pre-releaseNothing published for this version
-
v0.9.5-0.20211127184719-f123e3864e1f27 Nov 2021 pre-releaseNothing published for this version
-
v0.9.5-0.20211112205340-207dd606bbe512 Nov 2021 pre-releaseNothing published for this version
-
v0.9.5-0.20211104153423-bdb1ea9e9d7404 Nov 2021 pre-releaseNothing published for this version
-
v0.9.5-0.20211021181552-a5096572888621 Oct 2021 pre-releaseNothing published for this version
-
v0.9.5-0.20210819170448-e449e739f89019 Aug 2021 pre-releaseNothing published for this version
-
v0.9.5-0.20210719013351-33212062fb0019 Jul 2021 pre-releaseNothing published for this version
-
v0.9.406 Jul 2021 -
v0.9.4-0.20210528230932-ff2f9661a2d228 May 2021 pre-releaseNothing published for this version
-
v0.9.4-0.20210409164348-34e90248352e09 Apr 2021 pre-releaseNothing published for this version
-
v0.9.326 Feb 2021 -
v0.9.224 Feb 2021 -
v0.9.2-0.20210201014835-767218a9a6da01 Feb 2021 pre-releaseNothing published for this version
-
v0.9.2-0.20201229214014-438ba19fb02d29 Dec 2020 pre-releaseNothing published for this version
-
v0.9.130 Jun 2020Release notes
Open source →NOTE: The stable versions of
kubectxandkubensare the Bash script implementations (i.e. the./kubectxand./kubensfiles below). Go-based implementations are still unstable and are work-in-progress.Changelog
- [Go implementation] Fix typo in kubens --help
- [Go implementation] Release binaries for arm64 (armv8) and armhf (armv6), armv7
- [Go implementation] Fix colorized outputs on windows
- [Go implementation] Handle context names with
:character (e.g. AWS EKS) - [Go implementation] Switching with kubens no longer requires "List Namespace" permissions
- [Go implementation] Fix messages while interactively switching context with fzf(1).
Known Issues
-
v0.9.1-0.20200602200413-1db00a20d92302 Jun 2020 pre-releaseNothing published for this version
-
v0.9.029 Apr 2020Release notes
Open source →🥳 BIG NEWS: Go rewrite
With this release, the
kubectxandkubensrewritten in Go (if you didn't know, existing implementations were just 200-line Bash scripts). Please try out the new versions written in Go and give feedback!Why rewrite in Go?
kubectx/kubensno longer depends on kubectl- you can switch between clusters up to 8-15x faster, compared to the bash versions which called out to
kubectl. - you can now use
kubectx/kubenson Windows (please try it out!) - you should not notice any behavior differences
Miss the bash-based implementations? Don't worry! I intend to keep mini versions of
kubectxandkubensavailable in maintenance mode for the foreseeable future! Plus, this new version is actually backwards compatible with them!For stability reasons: Homebrew and Krew packages should not be using this new Go-based implementation, yet. I expect Alpine and Debian Linux packagers will also not update them just yet. After addressing feedback from you, we'll flip the switch, and hopefully existing users won’t notice a thing.
To get started, download one of the .tar.gz or .zip files listed below! Happy kubectxing!
-
v0.8.1-0.20200413060617-10f53bb15b7313 Apr 2020 pre-releaseNothing published for this version
-
v0.8.020 Feb 2020Release notes
Open source →- FEATURE: Introduced
--unset/-uoption for kubectx to remove the current namespace setting.
- FEATURE: Introduced
-
v0.7.110 Nov 2019Nothing published for this version
-
v0.7.030 Aug 2019Nothing published for this version
-
v0.6.328 Jan 2019Nothing published for this version
-
v0.6.226 Nov 2018Nothing published for this version
-
v0.6.124 Aug 2018Nothing published for this version
-
v0.6.023 Aug 2018Nothing published for this version
-
v0.5.106 Aug 2018Nothing published for this version
-
v0.5.009 Apr 2018Nothing published for this version
-
v0.4.130 Mar 2018Nothing published for this version
-
v0.4.009 Nov 2017Nothing published for this version
-
v0.3.117 May 2017Nothing published for this version