Skip to content

Instantly share code, notes, and snippets.

View elfgzp's full-sized avatar
☸️
working and learning

Elf elfgzp

☸️
working and learning
View GitHub Profile
@elfgzp
elfgzp / install_v5.sh
Created February 6, 2026 07:31
CCS Installer v5 - Working version
#!/bin/bash
# CC-Switch (ccs) Installer v5
# Install to /usr/local/bin (requires sudo)
# One-liner: curl -fsSL https://gist.githubusercontent.com/elfgzp/GIST_ID/raw | sudo bash
set -e
INSTALL_DIR="/usr/local/bin"
VERSION="v4.6.2"
@elfgzp
elfgzp / install_v4.sh
Created February 6, 2026 07:30
CCS Installer v4 - Fixed URLs, no API calls
#!/bin/bash
# CC-Switch (ccs) Installer v4
# Install to /usr/local/bin (requires sudo)
# One-liner: curl -fsSL https://gist.githubusercontent.com/elfgzp/GIST_ID/raw | sudo bash
set -e
INSTALL_DIR="/usr/local/bin"
VERSION="v4.6.2"
@elfgzp
elfgzp / install_v3.sh
Created February 6, 2026 07:29
CCS Installer v3 - Fixed URL matching
#!/bin/bash
# CC-Switch (ccs) Installer v3
# Install to /usr/local/bin (requires sudo)
# One-liner: curl -fsSL https://gist.githubusercontent.com/elfgzp/GIST_ID/raw | sudo bash
set -e
INSTALL_DIR="/usr/local/bin"
REPO="saladday/cc-switch-cli"
@elfgzp
elfgzp / install_fixed.sh
Created February 6, 2026 07:28
CCS Installer v2.1 - Auto-detect architecture
#!/bin/bash
# CC-Switch (ccs) Installer v2
# Install to /usr/local/bin (requires sudo)
# One-liner: curl -fsSL https://gist.githubusercontent.com/elfgzp/GIST_ID/raw | sudo bash
set -e
INSTALL_DIR="/usr/local/bin"
REPO="saladday/cc-switch-cli"
@elfgzp
elfgzp / install_final.sh
Created February 6, 2026 07:27
CCS Installer v2 - Install to /usr/local/bin with sudo
#!/bin/bash
# CC-Switch (ccs) Installer v2
# Install to /usr/local/bin (requires sudo)
# One-liner: curl -fsSL https://gist.githubusercontent.com/elfgzp/2da858991fa0db6f68641fe0dbcf99b5/raw/install_ccs.sh | sudo bash
set -e
INSTALL_DIR="/usr/local/bin"
REPO="saladday/cc-switch-cli"
@elfgzp
elfgzp / install_ccs_v2.sh
Created February 6, 2026 07:27
CCS Installer v2 - Install to /usr/local/bin
#!/bin/bash
# CC-Switch (ccs) Installer v2
# Install to /usr/local/bin (requires sudo)
# One-liner: curl -fsSL https://gist.githubusercontent.com/elfgzp/GIST_ID/raw/install_ccs.sh | sudo bash
set -e
INSTALL_DIR="/usr/local/bin"
REPO="saladday/cc-switch-cli"
@elfgzp
elfgzp / ccs_v2.sh
Created February 6, 2026 07:26
CCS - Claude Code Switcher wrapper script v2
#!/bin/bash
# CC-Switch (ccs) - Quick Claude provider switcher
# Usage: ccs [glm|kimi|minimax]
set -e
# Colors
GREEN='\033[0;32m'
RED='\033[0;31m'
YELLOW='\033[1;33m'
@elfgzp
elfgzp / install_ccs_final.sh
Created February 6, 2026 07:17
CCS Installer - One-liner install for cc-switch-cli
#!/bin/bash
# CC-Switch (ccs) Installer
# One-liner: curl -fsSL https://gist.githubusercontent.com/elfgzp/4e3c0cdb563439010e80571cd0a2449a/raw/install_ccs.sh | bash
set -e
echo "Installing cc-switch-cli..."
# Create bin directory
mkdir -p ~/bin
@elfgzp
elfgzp / ccs_gist.txt
Created February 6, 2026 07:17
CCS - Claude Code Switcher wrapper script
#!/bin/bash
# CC-Switch (ccs) Installer
# One-liner: curl -fsSL https://gist.githubusercontent.com/elfgzp/GIST_ID/raw/install_ccs.sh | bash
set -e
echo "Installing cc-switch-cli..."
# Create bin directory
mkdir -p ~/bin
@elfgzp
elfgzp / 📊 Weekly development breakdown
Last active October 8, 2022 02:26 — forked from YouEclipse/📊 Weekly development breakdown
📊 Weekly development breakdown
Still Gathering Statistics...