Installing Kiro CLI

Kiro CLI is a powerful command-line tool in the Kiro AI IDE ecosystem, helping developers interact directly with AI agents right in the terminal. With Kiro CLI, you can chat with AI, manage project context, create custom agents, and automate development workflows with just a few simple commands.

Kiro CLI can run on all operating systems:

  • Windows (Windows 10, Windows 11,…)
  • MacOS (MacOS 15, MacOS 26,…)
  • Linux (Ubuntu, Debian,…)

In this lab, I will guide you to install Kiro IDE on Windows 10.

Installing Kiro CLI on Windows

Although Kiro CLI can run on Windows, we need to install it through the WSL virtual machine.

If you already have WSL, skip this step and go to Installing Kiro CLI

WSL (Windows Subsystem for Linux) is a feature of Windows 10/11 and Windows Server 2019 and later, allowing you to run a Linux environment (Ubuntu, Debian, etc.) directly on Windows without needing a virtual machine (VM) or dual boot. It helps developers use command-line tools, Bash Shell, and Linux applications right in the Windows ecosystem.

Installing WSL

To install WSL, first you need to enable this feature on Windows:

  • Open Start Menu and search for “turn Windows features on or off”

Turn on windows features

  • Next, scroll down to find “Windows Subsystem for Linux” and check it

Turn on windows features

  • After checking, the computer will ask to restart to apply changes. Click “Restart now”

Turn on windows features

  • After restarting, reopen PowerShell to check with the command wsl --version

Turn on windows features

If the system asks to update WSL, you just need to open PowerShell and run the command wsl --update

  • Next, access Microsoft Store and search for: “Ubuntu” to install the Ubuntu Linux distro. Here I choose the Ubuntu 24.04.1 LTS distro. You can also choose another version as you wish.

  • Click Get (or Install depending on Windows version)

Turn on windows features

  • After installing the Ubuntu 24.04.1 LTS distro, proceed to open Terminal:
    • Select the down arrow (next to the +) to choose shell
    • Select Ubuntu 24.04.1 LTS just installed (or the version you chose)

Turn on windows features

If you don’t see this option, close Terminal and reopen it

  • To use Ubuntu you need to set up some information such as:
    • Username
    • Password

Turn on windows features

Now we have successfully installed WSL with Ubuntu 24.04.1 LTS distro on Windows. The next step is to install Kiro CLI on this Linux Terminal.

Installing Kiro CLI

  • Run the following command to download the Kiro CLI installation package:
wget https://desktop-release.q.us-east-1.amazonaws.com/latest/kiro-cli.deb

Turn on windows features

  • Install the downloaded package:
sudo dpkg -i kiro-cli.deb
sudo apt-get install -f
  • After installation, type kiro-cli to run Kiro CLI
    • Press “Enter” to sign in
    • Choose the sign-in method “Use for Free with Builder ID”

Turn on windows features

  • Hold Ctrl + Click on the link to open a browser and sign in

Turn on windows features

  • Click “Confirm and continue”

Turn on windows features

  • Click “Allow access” to allow sign-in to Kiro CLI

Turn on windows features

  • Confirm successful sign-in then return to the Terminal window

Turn on windows features

Turn on windows features

Now we have successfully installed Kiro CLI. The next step is to learn how to use Kiro CLI.