An open API service indexing awesome lists of open source software.

https://github.com/arfshl/termux-gemini-cli

Run gemini-cli within proot-distro, plus prebuilt rootfs based on Ubuntu LTS
https://github.com/arfshl/termux-gemini-cli

debian gemini gemini-cli nodejs npm proot proot-distro termux ubuntu yarn

Last synced: about 2 months ago
JSON representation

Run gemini-cli within proot-distro, plus prebuilt rootfs based on Ubuntu LTS

Awesome Lists containing this project

README

          

# Run gemini-cli within termux

### This instruction is for bare-metal termux
## Instruction for proot-distro see [here](https://github.com/arfshl/termux-gemini-cli/blob/main/proot-distro.md)

1. Upgrade All Packages

apt update && apt upgrade -y -o Dpkg::Options::="--force-confold"

2. Install nodejs and build-essential

apt install nodejs build-essential -y

3. Fix variables

mkdir -p ~/.gyp && echo "{'variables': {'android_ndk_path': ''}}" > ~/.gyp/include.gypi

5. Install gemini-cli

npm install -g @google/gemini-cli

6. Use `gemini` command for first run
7. Click number 1 to login with google
8. gemini will ask for restart
9. An login URL will be displayed, visit it with your browser
10. Login with your google account as usual
11. Copy and paste your authorization code on termux (don't share this code with anyone!)
12. Done! gemini-cli installed