Claude Account banner
hamzarehmandeveloper hamzarehmandeveloper

Claude Account

Development community

Description

Switch between isolated Claude Code accounts on Linux and macOS without logging in again.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

claude-account

[![CI](https://github.com/hamzarehmandeveloper/claude-account/actions/workflows/ci.yml/badge.svg)](https://github.com/hamzarehmandeveloper/claude-account/actions/workflows/ci.yml) [![Release](https://img.shields.io/github/v/release/hamzarehmandeveloper/claude-account)](https://github.com/hamzarehmandeveloper/claude-account/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

A cross-platform profile switcher for Claude Code on Linux and macOS. It gives Claude Code an isolated configuration and credential-storage directory for each account and transparently forwards normal commands to the official executable.

claude account add work
claude account add personal
claude account use work
claude account list
claude account current
claude account remove personal

claude
claude "fix this bug in main.py"

Claude Code itself performs login, logout, credential storage, and token refresh. `claude-account` never reads or copies credential contents.

[!IMPORTANT] This is an independent community project. It is not made, endorsed, or supported by Anthropic. Claude and Claude Code are products of Anthropic.

Requirements

  • Linux, macOS 10.15 or later on Intel, or macOS 11 or later on Apple Silicon
  • A working Claude Code installation
  • Claude Code 2.1.144 or later on macOS, for profile-scoped Keychain credentials
  • Rust 1.85 or later to build from source

Install a release

Each release produces archives for Linux x86_64, macOS Apple Silicon, and macOS Intel:

Platform Target
Linux x86_64 x86_64-unknown-linux-gnu
macOS Apple Silicon aarch64-apple-darwin
macOS Intel x86_64-apple-darwin

Set `VERSION` to a tag from the [releases page][releases]. The following picks the archive for the current machine, downloads it and its checksum, and verifies it with the checksum tool available on the platform:

VERSION=vX.Y.Z
case "$(uname -s)-$(uname -m)" in
  Linu