Skip to content

GHJoe23/Kimi-cli-Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Kimi Code CLI on Android (Termux)

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

Prerequisites

  1. 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).
  2. Storage Access: You need to grant Termux permission to access your device's internal storage.

Installation Steps

1. Configure Storage and Workspace

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/Documents
mkdir kimi-cli
cd kimi-cli

Pro Tip: Use apps like Autosync to synchronize this kimi-cli folder with your Google Drive or other cloud services to keep your code safe.

2. Update the System

Ensure your local package index and installed packages are up to date:

apt update && apt upgrade \-y

3. Install Required Dependencies

Install the necessary system packages required for Python, Rust, and image processing:

pkg install \-y python libxslt rust libjpeg-turbo

4. Install Kimi-CLI

Now, 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-cli

The "All-in-One" Command

For 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-cli

Usage

Once the installation is complete, you can launch Kimi directly from the terminal:

kimi

Simply follow the on-screen instructions to connect your account and start coding!

Recommended Orchestrator

To enhance your experience, I highly recommend installing oh-my-kimi as an orchestrator:

https://github.com/Goblin1024/oh-my-kimi

About

Guide to run Kimi cli on a Android Phone with Termux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages