Skip to content

Linuxdazhao/homebrew-cc-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

homebrew-cc-switch

Homebrew tap for cc-switch - A CLI tool for managing multiple Claude API configurations and automatically switching between them.

Installation

# Add the tap
brew tap Linuxdazhao/cc-switch

# Install cc-switch
brew install cc-switch

Usage

After installation, you can use cc-switch command:

# Add a configuration
cc-switch add my-config TOKEN_HERE https://api.anthropic.com

# Switch between configurations  
cc-switch use my-config

# Interactive mode
cc-switch current

# List all configurations
cc-switch list

Shell Completion

Fish

cc-switch completion fish > ~/.config/fish/completions/cc-switch.fish

Zsh

mkdir -p ~/.zsh/completions
cc-switch completion zsh > ~/.zsh/completions/_cc-switch
echo 'fpath=(~/.zsh/completions $fpath)' >> ~/.zshrc

Bash

cc-switch completion bash > ~/.bash_completion.d/cc-switch
echo 'source ~/.bash_completion.d/cc-switch' >> ~/.bashrc

Alternative Installation Methods

More Information

For detailed documentation and usage examples, visit the main repository: https://github.com/Linuxdazhao/cc_auto_switch

About

Homebrew tap for cc-switch CLI tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages