Run KolosalCode on Android using Termux. No root required.
- Termux app
- Internet connection
- Storage permission (optional, for accessing files outside Termux)
-
Update Termux Run this to ensure your package lists and installed tools are up to date:
pkg update -y && pkg upgrade -y -
Install Git
pkg install git -y
-
Clone the Repository
git clone https://github.com/KolosalAI/kolosal-cli.git cd kolosal-cli -
Run the Installer Use
bashto run the installer (do not usesh):bash install-termux.sh
This script will:
- Install required dependencies (Node.js LTS, Python, build tools).
- Build the project from source using
esbuild. - Install the application to
$PREFIX/opt/kolosal-code. - Create a
kolosalcommand in$PREFIX/bin.
Run the CLI:
kolosalCheck version:
kolosal --versionGet help:
kolosal --helpIf you see an error about missing modules, ensure you are using the latest install-termux.sh which includes a fix to copy external dependencies correctly. Run the installer again:
bash install-termux.shEnsure you are running the script with bash:
bash install-termux.shEnsure you are running the script with bash as instructed, not sh or directly (./install-termux.sh).
bash install-termux.shYou might see some warnings during npm install or execution. These are usually harmless as long as the installation completes and kolosal --version works.