This guide provides a step-by-step walkthrough for running Kimi Code CLI successfully on Android devices. This method has been tested and verified on:
- Samsung Galaxy A54
- Google Pixel 10 Pro XL
- Install Termux: Download and install Termux (Available on F-Droid or GitHub is recommended for the most up-to-date packages, though Play Store was used for this test).
- Storage Access: You need to grant Termux permission to access your device's internal storage.
Open the Termux terminal and execute the following command:
termux-setup-storage- A popup will appear asking for storage permissions. Allow it.
- Run the command again if necessary to ensure the symlinks are created.
- Verify by typing ls. You should see a storage folder.
Now, navigate to your shared documents and create a dedicated workspace:
cd storage/shared/Documentsmkdir kimi-clicd kimi-cliPro Tip: Use apps like Autosync to synchronize this kimi-cli folder with your Google Drive or other cloud services to keep your code safe.
Ensure your local package index and installed packages are up to date:
apt update && apt upgrade \-yInstall the necessary system packages required for Python, Rust, and image processing:
pkg install \-y python libxslt rust libjpeg-turboNow, install the Kimi CLI via pip. Note that on some devices (like the Samsung A54), the compilation of certain dependencies might take up to 30 minutes.
pip install kimi-cliFor those who want to run everything in a single step (Vollautomatisch):
apt update && apt upgrade \-y && pkg install \-y python libxslt rust libjpeg-turbo && pip install kimi-cliOnce the installation is complete, you can launch Kimi directly from the terminal:
kimiSimply follow the on-screen instructions to connect your account and start coding!
To enhance your experience, I highly recommend installing oh-my-kimi as an orchestrator: