kiro-cli-term is not running in this terminal, please try restarting your terminal
Checks
- [x] I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- [x] I have run
q doctorin the affected terminal session - [x] I have run
q restartand replicated the issue again
Operating system
Linux 6.8.0-87-generic - Ubuntu 22.04.5 LTS
Expected behaviour
kiro-cli doctor command gives output: ✘ Kiro CLI terminal integrations: kiro-cli-term is not running in this terminal, please try restarting your terminal
✘ Doctor found errors. Please fix them and try again.
If you are not sure how to fix it, please open an issue with kiro-cli issue to let us know!
Basically the process kiro-cli-term is not getting run
Actual behaviour
in .profile file kiro cli pre block is at the top of file, and when I try to add export PATH="$HOME/.local/bin:$PATH" above it, its moved below it in new terminal.
Steps to reproduce
Remove q from /usr/bin/q, then ran kiro-cli using curl -fsSL https://cli.kiro.dev/install | bash
Environment
<This will be visible to anyone. Do not include personal or sensitive information>
[q-details]
version = "1.21.0"
hash = "dc54efd85f411d6b4347d192733ff40650d38dfb"
date = "2025-11-26T22:30:26.062904Z (12d ago)"
variant = "minimal"
[system-info]
chip = "Intel(R) Xeon(R) W-2295 CPU @ 3.00GHz"
total-cores = 18
memory = "125.48 GB"
[system-info.os.linux]
kernel_version = "6.8.0-87-generic"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 22.04.5 LTS"
version_id = "22.04"
version = "22.04.5 LTS (Jammy Jellyfish)"
[environment]
cwd = "/home/USER"
cli-path = "/home/USER"
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "5.1.16"
install-method = "unknown"
in-ssh = true
[env-vars]
DISPLAY = "localhost:12.0"
PATH = "/home/USER/.pyenv/shims:/home/USER/.pyenv/bin:/home/USER/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin:/home/USER/bin:/home/USER/report_tool/utilities/tools/collector/debian-scripts/report/"
SHELL = "/bin/bash"
TERM = "xterm"
XDG_SESSION_TYPE = "tty"
I was going through the same issue, worked my ahh out for some days but i reinstalled and it worked.
i cleared all trace of kiro and/or q from my pc (mine was kiro):
deleted the following: "/Users/user/.kiro", "/Users/user/.kiro", "/Applications/Kiro CLI.app", "/Users/user/Library/Application Support/kiro-cli"
removed it from .zshrc file (do not delete, just remove contents dealing with kiro)
Re install using Admin rights:
[!IMPORTANT]
sudo curl -fsSL https://cli.kiro.dev/install | bash
[!TIP] once completed i used a new tab to try
kiro-cliand it work
In my case, the executable was on this path
/Applications/Kiro\ CLI.app/Contents/MacOS/kiro-cli
It wouldn't recognize the command otherwise
For anyone who still have this issue none of these solution worked for me, but I Just ended up using --classic mode and it worked
kiro-cli --classic
I think the reason for silently failing or crashing on Linux is that its bundled Bun runtime requires AVX2 support, which is absent on older CPUs (pre-Haswell, such as Ivy Bridge or older Intel Xeon models).
I checked by running this command
❯ ~/.local/share/kiro-cli/bun --version
zsh: illegal hardware instruction ~/.local/share/kiro-cli/bun --version