Skip to content

Instantly share code, notes, and snippets.

View 7ucian's full-sized avatar
🎯
Focusing

Lucian Florea 7ucian

🎯
Focusing
View GitHub Profile
@7ucian
7ucian / claude-code-termux-setup.sh
Created February 7, 2026 09:30 — forked from DavraYoung/claude-code-termux-setup.sh
Claude Code Termux Setup - Patches Claude Code to work on Termux (fixes /tmp path issues and ripgrep)
#!/data/data/com.termux/files/usr/bin/bash
# ============================================================
# Claude Code Termux Setup Script
# ============================================================
# This script installs and patches Claude Code to work on Termux.
#
# Termux doesn't allow access to /tmp, so Claude Code fails
# because it hardcodes /tmp paths. This script patches those
# paths to use Termux-compatible directories.
#