How to install Gemini CLI on Termux
·1 min
In this post, I will show you how to install the Gemini CLI on Termux. This is a great way to have an AI assistant right in your pocket.
First, make sure your Termux packages are up to date:
pkg update && pkg upgrade -y
Next, install Node.js:
pkg install nodejs -y
Now, you can install the Gemini CLI using npm. We use the --ignore-scripts flag to avoid issues with some dependencies on Termux:
npm install -g @google/gemini-cli --ignore-scripts
Now you can start using Gemini CLI by simply typing:
gemini