<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-use-multiple-claude-code-accounts-for-work-and-personal-projects-fireup-pro-oixxzaeu4" -->

---
title: How to use multiple Claude Code Accounts for work and...
description: Developers who use both a company-managed Claude Code account and a personal Claude Pro or Max subscription can avoid constant login switching by leveraging...
canonical: https://daily.dev/posts/how-to-use-multiple-claude-code-accounts-for-work-and-personal-projects-fireup-pro-oixxzaeu4
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to use multiple Claude Code Accounts for work and personal projects : fireup.pro | daily.dev
og:description: Developers who use both a company-managed Claude Code account and a personal Claude Pro or Max subscription can avoid constant login switching by leveraging...
og:url: https://daily.dev/posts/how-to-use-multiple-claude-code-accounts-for-work-and-personal-projects-fireup-pro-oixxzaeu4
og:image: https://api.daily.dev/og/posts/oixXzaeU4.png
og:image:alt: How to use multiple Claude Code Accounts for work and personal projects : fireup.pro
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to use multiple Claude Code Accounts for work and personal projects : fireup.pro

**[FireUp](https://daily.dev/sources/fireup-pro)** · 4 min read · 0 upvotes · 0 comments

## Summary

Developers who use both a company-managed Claude Code account and a personal Claude Pro or Max subscription can avoid constant login switching by leveraging the CLAUDE_CONFIG_DIR environment variable. By creating separate directories (e.g., ~/.claude-work and ~/.claude-personal) and setting up shell aliases, each profile maintains its own independent authentication, conversation history, memories, MCP servers, hooks, and settings. Both sessions can run simultaneously in different terminals, and the same approach works on Windows via PowerShell scripts.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://fireup.pro/news/multiple-claude-code-accounts>

## Questions this post answers

### How do I use separate Claude Code accounts for work and personal projects without logging out each time?

Set the CLAUDE_CONFIG_DIR environment variable to point Claude Code at different configuration directories, such as ~/.claude-work and ~/.claude-personal. Each directory stores its own authentication, conversation history, memories, MCP configuration, hooks, and settings independently. Create shell aliases like alias claude-work="CLAUDE_CONFIG_DIR=$HOME/.claude-work claude" so switching accounts is as simple as running a different command.

_Developers juggling multiple Claude Code logins can find more workflow tips like this on daily.dev._

### Can I run two Claude Code sessions logged into different accounts at the same time?

Yes, by launching each session with a different CLAUDE_CONFIG_DIR value, both accounts can stay authenticated simultaneously in separate terminal windows. One terminal can run claude-work pointing at ~/.claude-work while another runs claude-personal pointing at ~/.claude-personal, letting you work on company repositories and personal projects in parallel without repeated sign-ins.

_daily.dev surfaces practical setups like this for developers managing multiple AI coding accounts._

## Similar posts on daily.dev

- [AI TIP: Running Two Claude Code Accounts How to use CLAUDE\_CONFIG\_DIR and bash aliases to run multiple Claude Code accounts simultaneously without logging out.](https://daily.dev/posts/ai-tip-running-two-claude-code-accounts-how-to-use-claude-config-dir-and-bash-aliases-to-run-multip-7r3bww3as) · The Miners · 0 upvotes · 0 comments
- [GitHub - hamzarehmandeveloper/claude-account: Switch between isolated Claude Code accounts on Linux without logging in again.](https://daily.dev/posts/github---hamzarehmandeveloper-claude-account-switch-between-isolated-claude-code-accounts-on-linux--odkislvzi) · Hacker News · 10 upvotes · 1 comments

---

Tags: [#claude-code](https://daily.dev/tags/claude-code)

[View this post on daily.dev](https://daily.dev/posts/how-to-use-multiple-claude-code-accounts-for-work-and-personal-projects-fireup-pro-oixxzaeu4)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to use multiple Claude Code Accounts for work and personal projects : fireup.pro","url":"https://daily.dev/posts/how-to-use-multiple-claude-code-accounts-for-work-and-personal-projects-fireup-pro-oixxzaeu4","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-use-multiple-claude-code-accounts-for-work-and-personal-projects-fireup-pro-oixxzaeu4"},"datePublished":"2026-08-07T19:05:10.429Z","dateModified":"2026-09-14T06:41:51.065Z","description":"Developers who use both a company-managed Claude Code account and a personal Claude Pro or Max subscription can avoid constant login switching by leveraging...","image":"https://fireup.pro/uploads/2026/08/multiple-claude-code-accounts.webp","thumbnailUrl":"https://fireup.pro/uploads/2026/08/multiple-claude-code-accounts.webp","isAccessibleForFree":true,"articleSection":"FireUp","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"FireUp","logo":"https://media.daily.dev/image/upload/s--JWZsm71i--/f_auto,q_auto/v1774960866/logos/fireup-pro?_a=BAMAMiWQ0","url":"https://daily.dev/sources/fireup-pro"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-use-multiple-claude-code-accounts-for-work-and-personal-projects-fireup-pro-oixxzaeu4","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"claude-code","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"FireUp","item":"https://daily.dev/sources/fireup-pro"},{"@type":"ListItem","position":3,"name":"How to use multiple Claude Code Accounts for work and personal projects : fireup.pro"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-use-multiple-claude-code-accounts-for-work-and-personal-projects-fireup-pro-oixxzaeu4#faq","mainEntity":[{"@type":"Question","name":"How do I use separate Claude Code accounts for work and personal projects without logging out each time?","acceptedAnswer":{"@type":"Answer","text":"Set the CLAUDE_CONFIG_DIR environment variable to point Claude Code at different configuration directories, such as ~/.claude-work and ~/.claude-personal. Each directory stores its own authentication, conversation history, memories, MCP configuration, hooks, and settings independently. Create shell aliases like alias claude-work=\"CLAUDE_CONFIG_DIR=$HOME/.claude-work claude\" so switching accounts is as simple as running a different command. Developers juggling multiple Claude Code logins can find more workflow tips like this on daily.dev."}},{"@type":"Question","name":"Can I run two Claude Code sessions logged into different accounts at the same time?","acceptedAnswer":{"@type":"Answer","text":"Yes, by launching each session with a different CLAUDE_CONFIG_DIR value, both accounts can stay authenticated simultaneously in separate terminal windows. One terminal can run claude-work pointing at ~/.claude-work while another runs claude-personal pointing at ~/.claude-personal, letting you work on company repositories and personal projects in parallel without repeated sign-ins. daily.dev surfaces practical setups like this for developers managing multiple AI coding accounts."}}]}
```

