Pagina 2

Primero configuras. Luego trabajas sin pensar en la configuracion otra vez.

Esta pagina existe para una sola cosa: dejar Claude Code, Clother, Claude Native y Z.AI funcionando en la misma maquina sin interpretaciones raras. La hemos montado a partir de los pasos y fallos reales que aparecieron en esta conversacion.

Instrucciones

Dos pestañas: instalar bien y salir de los errores tipicos

01

Instalar Node si no existe

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source ~/.zshrc
nvm install --lts
nvm use --lts
node -v
npm -v
02

Instalar Claude Code

npm install -g @anthropic-ai/claude-code
claude --version
03

Instalar Clother

curl -fsSL https://raw.githubusercontent.com/jolehuit/clother/main/scripts/install.sh | bash
which clother
which clother-zai
which clother-native
04

Si Clother se queda en modo viejo

REAL_CLOTHER="$(readlink ~/bin/clother-zai)"
"$REAL_CLOTHER" install --yes
05

Configurar Z.AI

clother config zai

Si el wrapper viejo sigue molestando, usa:

REAL_CLOTHER="$(readlink ~/bin/clother-zai)"
"$REAL_CLOTHER" config zai
06

Abrir cada modo

clother-native
clother-zai --model glm-5.1
clother-zai --model glm-5-turbo