This repository contains a modified version of the official Google Colab CLI that can be installed and used on Android via Termux.
Original project: https://github.com/googlecolab/google-colab-cli
This version improves Android/Termux compatibility while preserving the original CLI behavior as closely as possible.
All credits for the original project belong to the Google Colab CLI developers.
-
Extract the archive.
-
Open a terminal and enter the extracted directory.
-
Install:
pip install . --break-system-packages- Verify:
colab --helpRun compatibility tests:
colab testFor a live Colab kernel test:
colab new -s android-test
colab test kernel -s android-testFor the live T4 SSH/GPU test:
RUN_GPU_SSH_E2E=1 bash integration/repro_ssh_gpu/test.shFor colab run regression tests:
bash integration/repro_run_command/test.shFor runtime-proxy refresh/recovery:
bash integration/repro_runtime_proxy_refresh/test.sh- Tested on Termux.
- Python 3.14.
- Live T4 GPU SSH access tested successfully.
colab runsupports both Python scripts and.ipynbnotebooks.- Runtime-proxy credentials are refreshed for long-lived sessions.
- Existing upstream CLI behavior is preserved where possible.
26/9/2026:
- Previous version:
0.7.2.post0+android5.2 - Current version:
0.7.2.post0+android5.3
- Fixed T4 GPU libraries not being visible inside SSH sessions.
- Fixed integration test execution on Termux/Python 3.14.
- Added
.ipynbsupport tocolab run. - Preserved notebook cell state and saved executed notebook outputs.
- Fixed stale runtime-proxy credentials in long-lived sessions.
- Prevented live sessions from being pruned when runtime-proxy requests return stale 401/404 responses.
- Added live recovery tests for file access and session credential refresh.