Claude Code: Easy Switch Between Work & Personal Accounts (Mac) @MikeMurphy-AI
Claude Code: Easy Switch Between Work & Personal Accounts (Mac)  @MikeMurphy-AI
Uploaded August 2026 | Updated September 2026, 2 weeks ago
In this tutorial, you will learn how to switch between multiple Claude Code accounts in the terminal without losing your session. If you have a personal and a work account, you normally have to log out and back in every time, which resets your context window. I'll show you how to set up separate credential folders and simple aliases so you can jump between accounts instantly.

🧠 What You Will Learn

- Checking your login: see which Claude Code account is active
- Credential folders: create separate config folders per account
- Exporting credentials: save login info into each folder
- Signing in twice: authorize both a personal and work account
- Editing .zshrc: add aliases in your shell config file
- Building aliases: switch accounts with one short command
- VS Code gotcha: why the Claude Code extension behaves differently

Tools I Use:

00:00 Intro: About The Tutorial
00:39 What is Account Switching?
01:11 Check Your Current Login
01:53 Create Config Folders
03:17 Home Directory Config Folders
03:48 Export Login Credentials
04:24 Authorize Claude Code
05:25 Claude-Work Export Credentials
06:07 Switch Accounts
07:32 Open Text Editor
07:58 Add Aliases in Text Edit
09:05 Tip: Double Ampersand
09:53 Reload Config File
10:29 Test Aliases
11:59 VS Code Gotcha

🌐 Mike Murphy AI: mikemurphy.ai
πŸš€ Hostinger VPS: go.mikemurphy.ai/vps
πŸŽ™οΈ ElevenLabs: go.mikemurphy.ai/elevenlabs

⏱️ Timestamps


⭐ Connect with Me
➜ Website: mikemurphy.ai
➜ YouTube: youtube.com/mikemurphyco
➜ Newsletter: mikemurphy.ai/newsletter
➜ X: https://x.com/mikemurphyai

βš–οΈ Disclosure
Some links may be affiliate links, which means I may earn a commission if you purchase through them at no extra cost to you. I only share tools and services I use, trust, or think are useful for creators, small businesses, and tutorial makers.

#claudecode #anthropic #terminal #zshrc #alias #macterminal #ai #aicoding #developertools #productivity #vscode #commandline #tutorial #mikemurphyai
Claude Code: Easy Switch Between Work & Personal Accounts (Mac)How To Migrate Claude Code From npm to Native InstallerElevenLabs AI Audio: How to Use Text To Sound EffectsHow I Migrated from Pretty Links to Shlink (Self-Hosted URL Shortener on VPS)How To Get Anthropic API Keys & Use Claude AI in n8n Automation WorkflowsHow To Animate ANY Image in MidJourney (Even Line Art!)Scrolling Motion Tile Effect in After EffectsHow to Install Google Gemini CLI in MacOS TerminalHow to Create a Baby Podcast Animation Using Hedra, Sora & Eleven LabsPart 4: Add Sliders, Input Fields & Debug the Wiggle PanelU4L3 How To Use Blend Modes & Layer Styles in After EffectsπŸš½πŸŽ„ Toilet ASCII Text Art Fun!
Mike Murphy | AI Handyman |

Claude Code: Easy Switch Between Work & Personal Accounts (Mac)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER