Skip to content

Getting "account: unbound variable" when trying to install #20

@Navdevl

Description

@Navdevl

Facing ./install.sh: line 702: account: unbound variable, and sharing the full log below.

claude-code-switch on  main
❯ ./install.sh

==> CCM Installer
Default: user-level PATH install + rc injection
Options: --project (project-local), --system (system-wide), --no-rc (disable rc)
Tip: use --cleanup-legacy if you previously installed the old rc-based version
Interactive: auto-enabled when run without flags in a TTY

==> Interactive setup
Select install mode:
  1) User (recommended)
  2) System (may require sudo)
  3) Project (current directory only)
Choose [1-3] (default 1): 1
Inject ccm/ccc functions into shell rc? [Y/n]: Y
==> Install plan
  Mode: user
  Bin:  /Users/naveenhonestraj/.local/bin
  Data: /Users/naveenhonestraj/.local/share/ccm
  RC injection: enabled
  Legacy cleanup: prompt if detected
==> Installing from local directory...
./install.sh: line 702: account: unbound variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions