{"id":47714838,"url":"https://github.com/ftery0/claude-account-switch","last_synced_at":"2026-04-02T18:51:06.660Z","repository":{"id":345683194,"uuid":"1186798218","full_name":"ftery0/claude-account-switch","owner":"ftery0","description":"Multi-account profile manager for Claude Code — switch between work, personal, and other accounts instantly","archived":false,"fork":false,"pushed_at":"2026-03-20T06:25:09.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-20T23:00:48.016Z","etag":null,"topics":["anthropic","claude","claude-code","cli","developer-tools","multi-account","nodejs","profile-manager"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ftery0.png","metadata":{"files":{"readme":"README.ko.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-20T02:06:19.000Z","updated_at":"2026-03-20T07:23:53.000Z","dependencies_parsed_at":"2026-03-20T23:00:50.404Z","dependency_job_id":null,"html_url":"https://github.com/ftery0/claude-account-switch","commit_stats":null,"previous_names":["ftery0/claude-account-switch"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ftery0/claude-account-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftery0%2Fclaude-account-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftery0%2Fclaude-account-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftery0%2Fclaude-account-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftery0%2Fclaude-account-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ftery0","download_url":"https://codeload.github.com/ftery0/claude-account-switch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftery0%2Fclaude-account-switch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31313460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anthropic","claude","claude-code","cli","developer-tools","multi-account","nodejs","profile-manager"],"created_at":"2026-04-02T18:51:05.633Z","updated_at":"2026-04-02T18:51:06.650Z","avatar_url":"https://github.com/ftery0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# claude-account-switch\n\n[![npm version](https://img.shields.io/npm/v/claude-account-switch)](https://www.npmjs.com/package/claude-account-switch)\n[![npm downloads](https://img.shields.io/npm/dm/claude-account-switch)](https://www.npmjs.com/package/claude-account-switch)\n[![license](https://img.shields.io/npm/l/claude-account-switch)](./LICENSE)\n\n[Claude Code](https://docs.anthropic.com/en/docs/claude-code)를 위한 멀티 계정 프로필 관리 도구.\n\n[English](./README.md)\n\nClaude Code는 공식적으로 멀티 계정을 지원하지 않습니다. `claude-account-switch`는 `CLAUDE_CONFIG_DIR` 환경변수를 활용해 프로필별로 독립된 OAuth 인증 정보를 관리합니다.\n\n## 빠른 시작\n\n```bash\nnpx claude-account-switch init\n```\n\n인터랙티브 위자드가 프로필 생성, 기존 설정 마이그레이션, 감지된 모든 셸에 셸 통합 자동 설치를 안내합니다.\n\n```\n  ╭──────────────────────────────────────╮\n  │ Welcome to Claude Switch!            │\n  │ Multi-account manager for Claude Code│\n  ╰──────────────────────────────────────╯\n\n  How many profiles do you want to set up? 2\n\n  Profile 1 name: work\n  Profile 2 name: personal\n\n  Which profile should be active by default?\n  ❯ work\n    personal\n\n  Share settings across profiles? (recommended) Yes\n\n  Existing ~/.claude detected. Migrate to a profile?\n  ❯ Yes, migrate to \"work\"\n    Yes, migrate to \"personal\"\n    No, skip\n\n  ✓ Migrated ~/.claude → profile: work\n  ⚠ Original ~/.claude was NOT deleted.\n  ✓ Created profile: work\n  ✓ Created profile: personal\n  ✓ Shared settings linked\n  ✓ Shell integration installed (zsh, bash)\n  ✓ Active profile: work\n\n  Next steps:\n    1. Open a new terminal\n    2. Run claude to authenticate your \"work\" profile\n    3. Run cpf personal \u0026\u0026 claude to authenticate \"personal\"\n```\n\n**플랫폼별 가이드:** [macOS](docs/setup-macos.ko.md) · [Linux](docs/setup-linux.ko.md) · [Windows](docs/setup-windows.ko.md)\n\n## 설치\n\n```bash\n# npx로 바로 사용 (권장)\nnpx claude-account-switch init\n\n# 또는 글로벌 설치\nnpm i -g claude-account-switch\n```\n\n## 명령어\n\n| 명령어 | 설명 |\n|--------|------|\n| `claude-account-switch init` | 인터랙티브 설정 위자드 |\n| `claude-account-switch add \u003cname\u003e` | 새 프로필 생성 |\n| `claude-account-switch remove \u003cname\u003e` | 프로필 삭제 |\n| `claude-account-switch list` | 프로필 목록 |\n| `claude-account-switch use \u003cname\u003e` | 활성 프로필 전환 |\n| `claude-account-switch migrate [name]` | 기존 `~/.claude` 데이터를 프로필로 마이그레이션 |\n| `claude-account-switch install-shell` | 셸 통합 설치 |\n\n## 셸 통합\n\n`init` 실행 시 감지된 모든 셸에 자동 설치됩니다. 터미널에서 사용 가능:\n\n| 명령어 | 설명 |\n|--------|------|\n| `claude` | 활성 프로필로 Claude 실행 |\n| `cpf \u003cname\u003e` | 빠른 프로필 전환 |\n| `claude-pick` | 인터랙티브 프로필 선택기 |\n\n**지원 셸:**\n\n| 셸 | 플랫폼 | 설정 파일 |\n|----|--------|-----------|\n| zsh | macOS / Linux | `~/.zshrc` |\n| bash | macOS / Linux / Git Bash | `~/.bashrc` |\n| fish | macOS / Linux | `~/.config/fish/config.fish` |\n| PowerShell | Windows | `$PROFILE` |\n\n## 작동 방식\n\n```\n~/.claude-profiles/\n├── meta.json                  ← 프로필 메타 정보 + 활성 프로필\n├── .shell-integration.sh      ← bash/zsh 통합 스크립트\n├── .shell-integration.fish    ← fish 통합 스크립트\n├── .shell-integration.ps1     ← PowerShell 통합 스크립트\n├── .picker.mjs                ← 화살표 키 선택기 스크립트\n├── _shared/\n│   ├── settings.json          ← 공통 설정 (원본)\n│   └── commands/               ← 공통 커스텀 명령어\n├── work/\n│   ├── .claude.json           ← 회사 계정 OAuth\n│   ├── settings.local.json    ← 로컬 설정 (프로필별)\n│   ├── settings.json          → ../_shared/settings.json (심링크)\n│   ├── commands/              → ../_shared/commands/ (심링크)\n│   ├── plugins/               ← 설치된 플러그인\n│   ├── projects/              ← 프로젝트별 설정\n│   └── plans/                 ← 저장된 플랜\n└── personal/\n    ├── .claude.json           ← 개인 계정 OAuth\n    ├── settings.local.json\n    ├── settings.json          → ../_shared/settings.json\n    ├── commands/              → ../_shared/commands/\n    ├── plugins/\n    ├── projects/\n    └── plans/\n```\n\n- **공유 파일** (`settings.json`, `commands/`)은 `_shared/`에 원본 저장, 각 프로필에 링크\n  - macOS/Linux: 심볼릭 링크\n  - Windows: 먼저 심링크 생성을 시도하고, 실패 시(개발자 모드 미활성) 복사. 디렉토리는 항상 junction 사용.\n- **프로필별 파일** (`.claude.json`, `settings.local.json`, `plugins/`, `projects/`, `plans/`)은 독립 보관\n- **임시 파일** (`cache/`, `sessions/`, `history.jsonl` 등)은 Claude Code가 자동 생성, 관리하지 않음\n\n## 프로필 이름 규칙\n\n- 영문 소문자, 숫자, 하이픈만 허용\n- 문자 또는 숫자로 시작하고 끝나야 함\n- 최대 30자\n- 예약어 불가: `_shared`, `default`\n\n## 요구사항\n\n- Node.js 18+\n- Claude Code CLI 설치 필요\n- **지원 플랫폼:** macOS, Linux, Windows (네이티브 + WSL)\n\n## Zero Dependencies\n\n외부 의존성 없음 — Node.js 내장 모듈만 사용하여 `npx` 실행 시 즉시 시작됩니다.\n\n## 라이선스\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftery0%2Fclaude-account-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fftery0%2Fclaude-account-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftery0%2Fclaude-account-switch/lists"}