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

yoink-cli

v0.6.2

Published

Switch between Claude Code accounts from your terminal, fast.

Downloads

692

Readme


yoink snapshots the OAuth credentials Claude Code stores on your machine (the Keychain on macOS, the ~/.claude/.credentials.json file on Linux and Windows, plus the matching account identity in ~/.claude.json) into named profiles, then swaps them in and out in a keystroke. It also registers OpenRouter, Ollama, or any Anthropic-compatible provider as a switchable profile. No browser, no re-login.

Install

macOS and Linux, one command:

curl -fsSL https://yoink.codes/install.sh | bash

Windows:

powershell -c "irm https://yoink.codes/install.ps1 | iex"

Or with npm, on any OS with Node:

npm install -g yoink-cli

Confirm it answers:

yoink version

Quick start

yoink add        # sign in as account A, name it "work"
                 # "Add another?" > yes > sign in as account B, name it "personal"

yoink personal   # switch to personal
yoink work       # switch back

Run yoink with no arguments for the interactive menu: arrow keys or j/k to move, to switch, n new, e edit, s save, d delete, q to quit. Restart Claude Code after a switch.

Commands

| Command | Aliases | What it does | | --- | --- | --- | | yoink | | Open the interactive account menu | | yoink <name> | | Switch straight to a saved profile | | yoink add | login | Add an account: Claude sign-in or an external provider | | yoink edit <name> | | Edit a profile (name, or provider / URL / key / model) | | yoink save <name> | | Snapshot the current login as a profile | | yoink use <name> | switch | Switch to a saved profile | | yoink list | ls | List all saved profiles | | yoink current | who | Show the active profile | | yoink rename <a> <b> | | Rename a profile | | yoink remove <name> | rm | Delete a profile | | yoink version | -v | Print the version | | yoink help | -h | Print help |

Requirements

The package ships prebuilt binaries for macOS (arm64 and x64), Linux (x64 and arm64, glibc and musl/Alpine), and Windows (x64 and arm64) via platform packages, so nothing else is needed. On bare Alpine, run apk add libstdc++ libgcc once (the same runtime libraries Node needs there).

Documentation

Full guides are at yoink.codes and in the GitHub docs.

License

MIT © Majid Raimi