The cursor blinks. You type kcadm.sh and forget the exact flag you need. Seconds slip away as you hunt through docs.
Keycloak shell completion ends that search. With proper configuration, Bash or Zsh can auto-complete Keycloak CLI commands, options, and arguments. This isn’t a nice-to-have. It’s a direct upgrade to speed, accuracy, and confidence when managing identity and access.
The Keycloak Admin CLI (kcadm.sh) handles realms, clients, users, roles, and groups. By enabling shell completion, you navigate these tasks faster. Each keystroke becomes more precise. No guessing. No mistyped flags that break scripts. Completion suggestions appear as you tab through commands, cutting friction across all Keycloak operations.
How to Enable Keycloak Shell Completion
- Make sure Keycloak is installed and the CLI is in your PATH.
- Restart your shell, type a few characters, and hit tab. You’ll see available subcommands and options instantly.
Check the bin directory for completion scripts. In recent versions, run: