DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to switch between Claude Code accounts in one click with Janus

Save each Claude Code login once, then swap the live session from the macOS menu bar.

Short answer: Install Janus with brew install --cask --no-quarantine ramitvishwakarma/tap/janus, or download the latest .dmg from Releases and drag Janus to Applications; then if you downloaded the .dmg by hand, run xattr -dr com.apple.quarantine /Applications/Janus.app once, then run open /Applications/Janus.app; with the first account signed in to Claude Code, open Janus and press Save current account. All steps.

Credentials. Janus stores saved OAuth tokens in the login keychain and moves the live session between accounts, so only use it on a Mac you control.

Who it is forA developer with a personal and a work Claude Code account who is tired of signing out and typing logins again.

The problemSigning in as another Claude Code account normally means signing out first and entering the whole login again.

The outcomeEach account is saved in Janus, and the live session can be switched with one click or the ⌘S shortcut from the menu bar.

What you need first

  • A Mac running macOS (the README says macOS only)
  • Claude Code or Codex installed and signed in to at least one account
  • Homebrew, or a manual download of the latest .dmg from Releases
  • Xcode Command Line Tools if you build from source

Steps

  1. Install Janus with brew install --cask --no-quarantine ramitvishwakarma/tap/janus, or download the latest .dmg from Releases and drag Janus to Applications.
  2. If you downloaded the .dmg by hand, run xattr -dr com.apple.quarantine /Applications/Janus.app once, then run open /Applications/Janus.app.
  3. With the first account signed in to Claude Code, open Janus and press Save current account.
  4. Sign out of Claude Code, sign in as the second account, return to Janus, and press Save current account again.
  5. Switch between the two accounts with one click or ⌘S from the menu bar, then restart Claude Code to pick up the new account.

Prompt for your agent

Using the Janus repo at RamitVishwakarma/Janus, explain how to save the Claude Code account currently signed in on this Mac and switch to <target account name>. Report the list of saved accounts and which one is live. Verify that the live account in the menu bar matches the account you switched to.

Caveat. Switching does not affect a Claude Code session that is already running, so you must restart Claude Code to use the new account.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for RamitVishwakarma/Janus and "Switch between Claude Code accounts in one click"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer