aisw
Account manager and switcher for Claude Code, Codex CLI, and Gemini CLI. Current release: v0.3.3.
Named profile manager for Claude Code, Codex CLI, and Gemini CLI. Store and switch between multiple accounts in one command across all three AI coding agents - on macOS, Linux, and Windows.
Install
Section titled “Install”brew tap burakdede/tap && brew install aiswOther installers:
# Shell installer (Linux/macOS)curl -fsSL https://raw.githubusercontent.com/burakdede/aisw/main/install.sh | sh
# Cargocargo install aiswFirst run
Section titled “First run”aisw initinit creates ~/.aisw/, configures the optional shell hook, and offers to import any currently logged-in tool accounts so you start with zero manual re-authentication.
Core workflow
Section titled “Core workflow”# Store profilesaisw add claude work --api-key "$ANTHROPIC_API_KEY"aisw add claude personal # launches interactive OAuthaisw add codex work --api-key "$OPENAI_API_KEY"aisw add gemini work --api-key "$GEMINI_API_KEY"
# Activate a profileaisw use claude workaisw use --all --profile personal # switch all tools at once
# Inspect stateaisw statusaisw listStart here
Section titled “Start here”- Quickstart - install, first profile, first switch
- Commands - complete syntax and flag reference
- How it works - design decisions, credential storage, platform behavior
- Security - local-only storage, keyring integration, file permissions
- Automation and scripting - CI patterns, JSON output, non-interactive mode
- Troubleshooting - common failures and diagnostics