Skip to content
Brandon Shoop edited this page May 23, 2026 · 3 revisions

claudenv

Switch between Claude Code accounts the same way you switch Python envs or Node versions.

Commands

Command Description
claudenv Interactive env picker
claudenv <name> Activate a named env
claudenv deactivate Deactivate the current env
claudenv config [name] Create a new env
claudenv list List all envs (* marks the active one)
claudenv remove <name> Delete an env
claudenv upgrade <ver> Upgrade to a release (e.g. v1.2.3 or latest)
claudenv uninstall Remove claudenv and clean up shell profile
claudenv help Show command reference

Auto-activation

Place a .claudenvrc file containing an env name in any directory:

echo "work" > .claudenvrc

claudenv activates that env automatically on cd and deactivates it when you leave.

Installation

curl -o- https://raw.githubusercontent.com/1shooperman/claude-env/main/install.sh | sh

See the README for full install options and shell profile wiring instructions.

Community

Clone this wiki locally