DEV Community

Piero Azambuja
Piero Azambuja

Posted on

kiro-up: Auto-update Kiro IDE on Linux with rollback support

The problem

Kiro IDE on Linux (installed via .deb) has no built-in auto-update mechanism. Every time a new version is released, you need to:

  1. Open the browser
  2. Go to kiro.dev/downloads
  3. Download the .deb
  4. Run sudo dpkg -i ...

Coming from IntelliJ — which updates itself with a click — this felt like too much friction.

The solution

I wrote kiro-up, a small shell script that:

  • Checks the latest version via Kiro's metadata endpoint
  • Compares it with your installed version
  • Downloads and installs the new .deb if there's an update
  • Saves the previous version number so you can rollback if something breaks

Installation


bash
curl -fsSL https://gist.githubusercontent.com/pieronatan/9807eaa70bdb869ad509e7980b37fe2e/raw/kiro-up.sh -o ~/.local/bin/kiro-up \
  && chmod +x ~/.local/bin/kiro-up \
  && SHELL_RC="${ZDOTDIR:-$HOME}/.zshrc"; [ -f "$SHELL_RC" ] || SHELL_RC="$HOME/.bashrc" \
  && grep -q 'alias kiro-up' "$SHELL_RC" 2>/dev/null || echo "alias kiro-up='~/.local/bin/kiro-up'" >> "$SHELL_RC" \
  && echo "Done! Run 'source $SHELL_RC' or open a new terminal, then use: kiro-up"
Enter fullscreen mode Exit fullscreen mode

Top comments (0)