WindowsLinux
Where Does k9s Store Config?
k9s config.yaml, skins and cluster configs in ~/.config/k9s on all desktop platforms.
Last updated
k9s stores UI config, skins, aliases and per-cluster views in a k9s folder under the OS config home. Cluster credentials stay in kubeconfig.
Config versus credentials split cleanly. The k9s folder migrates freely; kubeconfig needs its own handling.
Where k9s stores this, by platform
Windows
%USERPROFILE%\.config\k9s
Holds config.yaml, skins, aliases and cluster configs. Same layout on all platforms. Close k9s before copying.
Linux
~/.config/k9s
Standard XDG location. Kubeconfig stays separate in ~/.kube.
Frequently asked questions
How do I move k9s settings?
Copy the k9s folder with k9s closed. Aliases, skins, plugins and cluster configs travel together. Kubeconfig contexts themselves stay in ~/.kube.
Notice an outdated path? Let us know.