-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
Β·44 lines (35 loc) Β· 1.29 KB
/
setup.sh
File metadata and controls
executable file
Β·44 lines (35 loc) Β· 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
cat > termux-setup.sh << 'EOF'
#!/data/data/com.termux/files/usr/bin/bash
# π― Refresh the official Termux repo
echo "π Updating Termux packages..."
pkg update -y && pkg upgrade -y
# π¦ Install Editors
echo "π Installing editors: nano, vim, neovim..."
pkg install -y nano vim neovim
# π» Install Programming Tools
echo "π Installing project tools: Python, C, HTML/CSS/JS..."
pkg install -y python clang nodejs
# π§ Enable pip & some extras
pip install --upgrade pip
pip install rich requests
# π Install Git
echo "π Installing Git..."
pkg install -y git
# π Install Gemini CLI with memory
echo "π Installing Gemini CLI (with memory)..."
pkg install -y curl unzip
curl -LO https://github.com/itsmevishaljadhav/Gemini-CLI/raw/main/gemini-cli.zip
unzip gemini-cli.zip -d gemini-cli
cd gemini-cli
chmod +x gemini
mv gemini /data/data/com.termux/files/usr/bin/
cd .. && rm -rf gemini-cli gemini-cli.zip
echo "π Gemini CLI installed as 'gemini' command. Memory feature built-in."
# β
Enable Termux official repository (if not already)
echo "π Checking Termux official repo..."
termux-change-repo
# πͺ Optional: Install Termux tools like storage access
echo "π Enabling Termux storage access..."
termux-setup-storage
echo "π Setup complete! Restart Termux if needed."
EOF