获取最强大脑连接:

# Claude
curl -fsSL https://claude.ai/install.sh | bash
 
# Gemini
npm install -g @google/gemini-cli
 
# codex
npm i -g @openai/codex
 
# Copilot
curl -fsSL https://gh.io/copilot-install | bash

登录自己的账号:

# codex
mkdir ~/.codex-l
CODEX_HOME=~/.codex-l codex login --device-auth
alias codex-l='CODEX_HOME=~/.codex-l codex'
echo "alias codex-l='CODEX_HOME=~/.codex-l codex'" >> ~/.bashrc
 
# claude
mkdir ~/.claude-l
CLAUDE_CONFIG_DIR=~/.claude-l claude /login
alias cc-l='CLAUDE_CONFIG_DIR=~/.claude-l claude'
echo "alias cc-l='CLAUDE_CONFIG_DIR=~/.claude-l claude'" >> ~/.bashrc
 
mkdir -p ~/.copilot-l
mkdir -p ~/.config/gh-l
 
COPILOT_HOME="$HOME/.copilot-l" \  
GH_CONFIG_DIR="$HOME/.config/gh-l" \  
copilot login
 
alias copilot-l='  
env \  
COPILOT_HOME="$HOME/.copilot-l" \  
GH_CONFIG_DIR="$HOME/.config/gh-l" \  
copilot  
'
 
echo "alias copilot-l='  
env \  
COPILOT_HOME="$HOME/.copilot-l" \  
GH_CONFIG_DIR="$HOME/.config/gh-l" \  
copilot  
'" >> ~/.bashrc

网络端口:

export http_proxy=http://127.0.0.1:17890 
export https_proxy=http://127.0.0.1:17890