Skip to content
accounts add

netcodex accounts add

Add an account folder by hand (for example ~/.claude-work). Never creates or changes the folder.

Subcommand of netcodex accounts: Accounts of each agent: their folders, launchers (claude2) and the e-mail each one is signed in with.

On this page

Usage

netcodex accounts add [OPTIONS] AGENT ROOT

Arguments

  • AGENTRequiredTEXT

    Agent: claude, codex, gemini-cli, copilot-cli, opencode or continue.

  • ROOTRequiredPATH

    The account folder (what the agent uses as CLAUDE_CONFIG_DIR, CODEX_HOME...).

Options

  • --labelTEXTDefault:

    Name for the account.

  • --launcherTEXTDefault:

    Command that opens the agent with this account (for example claude2).

  • --jsonFlag

    Print machine-readable JSON.

Examples

Add a Claude Code account kept in ~/.claude-work, opened with claudew.

netcodex accounts add claude ~/.claude-work --label Work --launcher claudew