---
title: <code>kubectl</code> shell autocompletion
description: The kubectl shell autocompletion extension lets you extend the Tab key completion feature of Bash and Zsh shells to the kubectl commands. While not a troubleshooting tool, this extension can make troubleshooting easier, because it lets you enter kubectl commands more easily.
component: forgeops
version: 2026.1
page_id: forgeops:troubleshoot:tab-completion
canonical_url: https://docs.pingidentity.com/forgeops/2026.1/troubleshoot/tab-completion.html
---

# `kubectl` shell autocompletion

The kubectl shell autocompletion extension lets you extend the Tab key completion feature of Bash and Zsh shells to the kubectl commands. While not a troubleshooting tool, this extension can make troubleshooting easier, because it lets you enter kubectl commands more easily.

For more information about the Kubernetes autocompletion extension, see [Enabling shell autocompletion](https://kubernetes.io/docs/tasks/kubectl/install/#enabling-shell-autocompletion) in the Kubernetes documentation.

Note that to install the autocompletion extension in Bash, you must be running version 4 or later of the Bash shell. To determine your bash shell version, run the bash --version command.
