You can natively install Kiro CLI for macOS at the command line.
curl -fsSL https://cli.kiro.dev/install | bashKiro will direct you to open your web browser, where you will follow the steps under Authentication.
You can install Kiro CLI for Linux using the AppImage format, which is a portable format that works on most Linux distributions without requiring installation.
To install Kiro CLI for Linux using AppImage, complete the following procedure.
https://desktop-release.kiro.us-east-1.amazonaws.com/latest/kiro-cli.appimageMake the AppImage executable:
chmod +x kiro-cli.appimage
Run the AppImage:
./kiro-cli.appimage
Kiro will direct you to open your web browser, where you will follow the steps under Authentication.
The setup for Linux integration with the Kiro CLI requires installing the appropriate file for your system, verifying the file, and installing the program.
-musl.zip in the filename).To determine which version you need, check your glibc version:
ldd --version
If the version is 2.34 or newer, use the standard version. If it's older, use the musl version.
Choose the appropriate download command based on your system architecture and glibc version:
curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/q-x86_64-linux.zip' -o 'kirocli.zip'curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/q-aarch64-linux.zip' -o 'kirocli.zip'curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/q-x86_64-linux-musl.zip' -o 'kirocli.zip'curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/q-aarch64-linux-musl.zip' -o 'kirocli.zip'Unzip the installer:
unzip kirocli.zip
Run the install program:
./kirocli/install.sh
By default, the files are installed to ~/.local/bin.
You can install Kiro CLI for Ubuntu using the .deb package.
To install Kiro CLI for Ubuntu, complete the following procedure.
wget https://desktop-release.kiro.us-east-1.amazonaws.com/latest/kiro-cli.debInstall the package:
sudo dpkg -i kiro-cli.deb sudo apt-get install -f
Launch Kiro CLI:
kiro-cli
Kiro will direct you to open your web browser, where you will follow the steps under Authentication.
Kiro CLI (v1.8.0 and later) supports proxy servers commonly used in enterprise environments. The CLI automatically respects standard proxy environment variables.
Configure proxy settings by setting these environment variables in your shell:
# HTTP proxy for non-SSL traffic export HTTP_PROXY=http://proxy.company.com:8080 # HTTPS proxy for SSL traffic export HTTPS_PROXY=http://proxy.company.com:8080 # Bypass proxy for specific domains export NO_PROXY=localhost,127.0.0.1,.company.com
For proxies requiring authentication:
export HTTP_PROXY=http://username:password@proxy.company.com:8080 export HTTPS_PROXY=http://username:password@proxy.company.com:8080
Kiro CLI also supports SOCKS proxies:
export HTTP_PROXY=socks5://proxy.company.com:1080 export HTTPS_PROXY=socks5://proxy.company.com:1080
After setting proxy environment variables, test connectivity:
kiro-cli doctor
If you encounter proxy-related connection issues:
You can uninstall Kiro CLI if you no longer need it.
To uninstall Kiro CLI on macOS, complete the following procedure.
To uninstall Kiro CLI on Ubuntu, complete the following procedure.
Use the apt package manager to remove the package:
sudo apt-get remove kiro-cli
Remove any remaining configuration files:
sudo apt-get purge kiro-cli
If you're having a problem with Kiro CLI, run kiro-cli doctor to identify and fix common issues.
$ kiro-cli doctor ✔ Everything looks good! Kiro CLI still not working? Run kiro-cli issue to let us know!
If your output doesn't look like the expected output, follow the prompts to resolve your issue. If it's still not working, use kiro-cli issue to report the bug.
Here are some common issues you might encounter when using Kiro CLI:
Authentication failures
: If you're having trouble authenticating, try running kiro-cli login to re-authenticate.
Autocomplete not working
: Ensure your shell integration is properly installed by running kiro-cli doctor.
SSH integration issues : Verify that your SSH server is properly configured to accept the required environment variables.
Follow these steps to troubleshoot issues with Kiro CLI:
kiro-cli doctor to identify and fix common issues.kiro-cli issue.
Installation