npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@911218sky/kiro-cli-auth

v0.1.48

Published

CLI for switching Kiro accounts

Readme

kiro-cli-auth

Switch between multiple Kiro CLI accounts quickly.

kiro-cli-auth saves each account as a local snapshot, then restores the selected snapshot into Kiro CLI's active data.sqlite3 when you switch.

Install

npm install -g @911218sky/kiro-cli-auth

You can also run it without installing globally:

npx @911218sky/kiro-cli-auth list

Supported npm platforms:

  • Linux x64
  • Linux arm64
  • macOS x64
  • macOS arm64
  • Windows x64

The npm package is a small launcher. During install it downloads the matching binary from the GitHub Release for that package version.

Quick Start

Add the current Kiro account:

kiro-cli-auth login work

Add another account:

kiro-cli-auth login personal

List accounts:

kiro-cli-auth list

Switch accounts:

kiro-cli-auth switch work

Stop running Kiro CLI sessions, then switch:

kiro-cli-auth switch --stop work

Show the active account:

kiro-cli-auth current

Remove an account:

kiro-cli-auth remove personal

Commands

kiro-cli-auth login [alias]
kiro-cli-auth list
kiro-cli-auth switch [alias] [--stop]
kiro-cli-auth current
kiro-cli-auth remove [alias]
kiro-cli-auth export [alias] -o <dir>
kiro-cli-auth import <dir>
kiro-cli-auth refresh [alias]
kiro-cli-auth refresh --all
kiro-cli-auth clean
kiro-cli-auth logout
kiro-cli-auth stop
kiro-cli-auth stop --force
kiro-cli-auth update

If switch, remove, or export does not receive an alias, it opens an interactive picker.

Update

Update kiro-cli-auth itself:

kiro-cli-auth update

Or update through npm:

npm update -g @911218sky/kiro-cli-auth

Uninstall

npm uninstall -g @911218sky/kiro-cli-auth

Account data is stored locally:

  • Linux/macOS: ~/.kiro-cli-auth/
  • Windows: %APPDATA%\kiro-cli-auth\

Remove that directory if you want to delete all saved account snapshots.

Notes

  • Close running Kiro CLI sessions before switching accounts.
  • Use kiro-cli-auth stop to stop running Kiro CLI sessions before switching accounts.
  • Use kiro-cli-auth switch --stop to stop Kiro CLI first, then switch.
  • Use kiro-cli-auth refresh --all to refresh cached account usage and status.
  • On Linux and Windows, machine IDs are kept in the kiro-cli-auth registry only.
  • On macOS, the per-account machine ID is also written to ~/Library/Application Support/Kiro/machineid.
  • If Kiro CLI stores data.sqlite3 in a non-standard path, set KIRO_CLI_DATA_PATH to that exact file.