16 lines
461 B
Plaintext
16 lines
461 B
Plaintext
|
|
# === Claude Code for Termux - .bashrc additions ===
|
||
|
|
# Append these lines to your ~/.bashrc
|
||
|
|
|
||
|
|
# Node-gyp / native compilation config
|
||
|
|
export CFLAGS="-I$PREFIX/include"
|
||
|
|
export LDFLAGS="-L$PREFIX/lib"
|
||
|
|
export CC=clang
|
||
|
|
export CXX=clang++
|
||
|
|
export npm_config_nodedir=$PREFIX
|
||
|
|
|
||
|
|
# Add local bin to PATH (for clauded, claude-check-env, etc.)
|
||
|
|
export PATH="$HOME/.local/bin:$PATH"
|
||
|
|
|
||
|
|
# Prevent Claude Code auto-updater (enforced at shell level too)
|
||
|
|
export DISABLE_AUTOUPDATER=1
|