cux
Run multiple Claude Code accounts as one. Auto-switches on rate limits and resumes your session no lost context, no logout dance.
File Explorer
- settings.local.json
- release.yml
- FUNDING.yml
- cux-banner.webp
- cux-mark.svg
- attach.go
- attach_windows.go
- main.go
- main_test.go
- setup.go
- slashcmd_cux_add.md
- slashcmd_cux_config.md
- slashcmd_cux_list.md
- slashcmd_cux_remove.md
- slashcmd_cux_status.md
- slashcmd_cux_support.md
- slashcmd_cux_switch.md
- slashcmd_cux_usage_refresh.md
- slashcmd_switch.md
- terminal_ansi_other.go
- terminal_ansi_windows.go
- installation.md
- linux.md
- macos.md
- README.md
- troubleshooting.md
- windows.md
- atomicfile.go
- branding.go
- claudecfg.go
- config.go
- config_test.go
- creds.go
- creds_test.go
- keychain_darwin_test.go
- keychain_multi_darwin_test.go
- history.go
- history_test.go
- hookinstall.go
- hookinstall_test.go
- apifailure_test.go
- hooks.go
- hooks_test.go
- promptsubmitted_test.go
- lockfile.go
- lockfile_unix.go
- lockfile_windows.go
- freshness_test.go
- monitor.go
- monitor_test.go
- paths.go
- attach_replay_test.go
- frame.go
- history.go
- history_test.go
- mastereof_test.go
- ptyhost.go
- ptyhost_test.go
- ptyhost_windows.go
- ptyhost_windows_test.go
- relaunch_test.go
- resize_signal_test.go
- alive_test.go
- alive_unix.go
- alive_windows.go
- reap_test.go
- registry.go
- registry_test.go
- session.go
- signals.go
- projects.go
- projects_test.go
- store.go
- store_test.go
- modelwindows_test.go
- strategy.go
- strategy_test.go
- twins_test.go
- fsutil.go
- switcher.go
- switcher_test.go
- transcripts.go
- transcripts_test.go
- selfupdate.go
- updater.go
- updater_test.go
- usage.go
- usage_test.go
- availability_test.go
- child.go
- concurrent_test.go
- countdown_test.go
- idleswap_test.go
- proctree.go
- proctree_test.go
- relaunch_test.go
- resumable_test.go
- retry_test.go
- skipswap_test.go
- slashcmd.go
- staleness_test.go
- start_other.go
- start_windows.go
- waitforreset_test.go
- wrapper.go
- wrapper_test.go
- cux.js
- .npmignore
- install.js
- LICENSE
- package.json
- README.md
- install.sh
- switch.md
- .gitattributes
- .gitignore
- go.mod
- go.sum
- LICENSE
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
claude
View Details ▼
claude
An agent-based coding tool that understands your code base and helps you code faster through natural language commands.
claude prompt
Execute with prompt:
claude update
Update `claude`:
claude mcp list
Get the list of specified MCP servers:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
go build
View Details ▼
go build
Compile Go sources.
go build {{path/to/main.go}}
Compile a 'package main' file (output will be the filename without extension):
go build -o {{path/to/binary}} {{path/to/source.go}}
Compile, specifying the output filename:
go build -o {{path/to/binary}} {{path/to/package}}
Compile a package:
go test
View Details ▼
go test
Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
go test
Test the package found in the current directory:
go test -v
[v]erbosely test the package in the current directory:
go test -v ./...
Test the packages in the current directory and all subdirectories:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
flock
View Details ▼
flock
Manage file locks from shell scripts.
It can be used to ensure that only one instance of a command is running.
flock {{path/to/lock.lock}} {{command}}
Run a command with a file lock as soon as the lock is available:
flock {{[-n|--nonblock]}} {{path/to/lock.lock}} {{command}}
Run a command with a file lock, or exit if the lock is currently being held (with exit code 1):
flock {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{123}} {{path/to/lock.lock}} {{command}}
Run a command with a file lock, or exit with a specific error code if the lock is currently being held:
