Skip to content

About

Native Android GUI file manager for Termux. Manage files, run shell commands, use developer tools, and connect AI coding providers on Android.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Termux File Manager: Android file manager, code editor, Termux terminal and AI agent animated overview

Termux File Manager

Your files, code, terminal and AI agent. One native Android workspace.

Download Android APK   |   Installation   |   Screenshots   |   How it works   |   Release guide   |   الدليل العربي

Android 6.0 and higher Kotlin and Jetpack Compose English and Arabic Release APK only

Termux File Manager (TFM) is a native, open-source Android file manager and developer workspace built for Termux. Browse files across tabs, edit syntax-highlighted code, run ANSI-colored shell commands, inspect archives, manage developer tools, and collaborate with local or cloud AI coding assistants — all without root. Version 1.0.0 delivers a complete UI and feature overhaul: multi-tab browsing, full-text grep content search, image viewer, archive inspector/creator/extractor (Zip-Slip protected), checksums, disk usage analyzer, visual chmod matrix, syntax-highlighted code editor with find & replace + symbol bar + Markdown preview + large-file viewer, ANSI terminal with snippets & history, local Ollama / llama.cpp support, encrypted OpenCode integration, and F-Droid reproducible build compliance.


Explore the workspace

Illustrated overview of TFM file browser, code editor, Termux terminal and AI agent; this is a conceptual vector diagram rather than an app screenshot

The vector panels above explain the workspace. Actual screenshots taken in the app are in the screenshot gallery below.

Files

Files and folders

Multi-tab list or grid browsing, breadcrumbs, Git branch detection, live storage meter, filename search and full-text content search (grep) with regex and jump-to-line. Includes category filters, extension sorting, persistent copy/cut/paste clipboard, image viewer, archive inspector/creator/extractor, MD5/SHA-1/SHA-256 checksums, disk-usage analyzer, symlinks and visual rwx permission matrix.
Editor

Code editor

Syntax-highlighted UTF-8 editor for Kotlin, Java, Python, JS/TS, JSON, XML/HTML, Bash, C/C++/Rust/Go, YAML, CSS, SQL and Markdown. Features smart undo/redo, find & replace, coding symbol accessory bar, auto-indent, go-to-line, JSON formatter, live Markdown preview, diff viewer, atomic fingerprint-guarded saves and paginated read-only viewing for large files.
Terminal

Termux terminal integration

Named sessions, ANSI color rendering, customizable command snippets, searchable command history, review-before-run safety, interactive Termux shell launch, session log export and one-tap "Ask AI" debugging for failing commands.
AI agent

AI coding agent & local LLMs

Multi-conversation assistant with full Markdown rendering (tables, lists, syntax-highlighted code), 16 guarded tools (including grep_files, surgical edit_file diffs and git_log), slash-skill autocomplete, foreground approval notifications, local loopback Ollama / llama.cpp support, ChatGPT OAuth and configurable HTTPS providers.
Developer tools

Developer tools hub

Searchable toolkit for Termux packages, Git workflows, Python/pip, npm, Cargo, Go, RubyGems, Composer, LuaRocks, local HTTP preview server, network diagnostics, SHA-256 verified HTTPS downloads, archives and live per-tool assistant toggles.
Localization

Designed for Android & F-Droid

Kotlin, Jetpack Compose and Material 3 with responsive phone/tablet layouts, English/Arabic RTL, 5 curated themes plus Android 12+ Material You dynamic colors, adaptive monochrome icon, zero trackers and F-Droid reproducible builds (DependencyInfoBlock & vcsInfo disabled).
OpenCode

Local OpenCode agent

The official OpenCode agent runs entirely inside Termux. A dedicated OpenCode tab embeds the official web UI in the app with its native sessions, tools and model catalog, while the AI assistant can talk to the same local service through its HTTP/SSE API. Installation from the signed Bionic apt package is optional, verified first, and requires Android 10+ on an arm64 device.

Screenshots

These are real screenshots saved from the Android app on 28 October 2026. They capture an earlier AI Agent interface, not the current v0.6.0 Compose interface. They are included as historical in-app references until updated captures are available; individual screens and controls may differ in the latest APK.

Actual older Android screenshot of Termux File Manager AI Agent with Gemini provider, terminal command output and message composer
AI Agent + terminal output
Captured in the app; earlier build
Actual older Android screenshot of the TFM AI Agent displaying a shell command approval card and Termux tool output
Command review + tool activity
Captured in the app; earlier build

For the latest UI: screenshots of the current Files, Editor, Terminal, Tools and Assistant screens can be added under docs/screenshots/ without modifying the application. See the screenshot contribution guide for capture and privacy rules. The illustrations on this page are not presented as real screenshots.


Download Termux File Manager

Official signed APK: GitHub Releases — latest Android download

The published release includes the signed Android APK, its .sha256 checksum, the build number and change notes. Use the APK in the Assets section, not the automatically generated GitHub Source code (zip/tar.gz) archives; source archives are not installable Android applications.

Requirement Details
App Android 6.0+ (API 23+)
Termux backend Current Termux releases need Android 7.0+
Root access Not required
CPU architecture Use the signed APK attached to the release; check release notes for build specifics
Storage Managed through Termux and Android permissions
AI models Optional; account, API key, provider availability and usage limits vary
Local OpenCode (optional) Android 10+ (API 29+) on an arm64 (aarch64) device; installed from the in-app OpenCode tab
Updates Must be signed with the same permanent key as your installed version

Install on Android

Animated four-stage installation diagram: get signed APK, install, connect Termux, use files and AI tools

  1. Open the latest signed release on your phone or tablet. Expand Assets if the list is collapsed.
  2. Download the file named like Termux-File-Manager-v0.6.0-Android-signed.apk. The name changes when a new version is published. Optionally download the matching .apk.sha256 file.
  3. Open the downloaded APK with Android's package installer. If Android blocks installation, allow Install unknown apps for the browser or file manager you are using. Revoke this permission afterward if desired.
  4. Open Termux File Manager. If Termux is not installed, install it separately from an official source via termux.dev and open Termux once.
  5. In TFM, choose Connect to Termux and grant the Android permission to Run commands in Termux environment. Copy and run the setup command shown by TFM inside Termux; it configures external app access and required tools.
  6. Restart Termux if the setup prompts you, return to TFM and select Check connection. File, terminal and developer operations can now use Termux with its own user permissions.
  7. For Android shared storage, run termux-setup-storage in Termux and approve the system permission. Configure an AI provider from Settings if you want assistant features, or install the optional local OpenCode agent from the OpenCode tab.

Important: TFM cannot browse another Android app's private files or bypass Termux/Android sandbox rules. The app does not ship a full Termux Linux environment or an embedded interactive terminal emulator.

Verify your APK download

In a terminal with sha256sum, keep the APK and its matching checksum file in the same folder and run:

sha256sum -c Termux-File-Manager-v0.6.0-Android-signed.apk.sha256

Replace v0.6.0 with your downloaded version. A valid match prints OK. A checksum detects a damaged or modified download; installation trust also depends on downloading from the official repository and verifying the Android signing identity.

Updating an existing installation

Install a newer signed APK over your existing app only when both use the same signing certificate. The current release pipeline requires a permanent RSA-3072 signing identity in private GitHub Actions Secrets. Older unsigned APKs are not normally installable. Builds signed with a different key cannot update each other; back up application data before uninstalling a differently signed version. See release and signing notes.


How it works

Animated architecture diagram showing Android Compose UI, action review, Termux RUN_COMMAND bridge, results, file bridge and AI providers

TFM is an Android front end connected to a separate Termux execution environment. File operations and shell commands run with Termux's accessible permissions. The Android app sends requests through the supported Termux command integration and records results for use in the workspace. The filesystem bridge uses a versioned JSON protocol, rather than relying on an embedded privileged shell.

Safety boundary: Read-only agent tools may run directly. Shell execution and file-changing actions are reviewable and require approval by default unless you explicitly enable automatic execution. Canceled or interrupted actions are not silently replayed after a restart; a command already dispatched to Termux may still finish on its own.

The AI agent loop

Animated AI agent workflow: user prompt, model planning, tool request, approval, Termux execution, result returned to model

The assistant can inspect projects, list and read files, search code, propose guarded updates, look up information on the web and ask to execute reviewed commands. Native ChatGPT Responses function calls are paired by call_id and stored with their results; other configured providers retain a compatible text-action protocol. The current model identifier shown in app information is the configured request model ID, not a verification of a provider's internal model weights.

Supported AI services and authentication

TFM supports configurable provider integrations for OpenAI/ChatGPT, Google Gemini, Anthropic, OpenRouter, Groq, Mistral, Cohere, DeepSeek, xAI and Together AI, plus a local OpenCode service running inside Termux. You can select an editable model identifier and HTTPS endpoint with your own supported API credentials.

Where available in the app, Continue with ChatGPT uses a browser-based account sign-in/consent flow with PKCE. Authentication tokens are stored with Android Keystore-backed protection. ChatGPT plan access, availability, model catalogs, supported OAuth capabilities and usage limits depend on the signed-in account and service policies. ChatGPT subscription benefits are not interchangeable with separately billed API credits.

Provider requests transmit the conversation and any explicitly attached files/images to the selected remote endpoint. Review that provider's privacy and billing terms before connecting.

Local OpenCode integration

TFM can use OpenCode in Termux as both an AI provider in the assistant and a dedicated full-UI tab. OpenCode requires the signed bd-loser/opencode-bionic apt package because the upstream glibc builds do not run natively in Termux; the in-app setup checks for a dpkg-owned installation before installing or replacing anything, and it requires Android 10 or newer on an arm64 device.

The assistant talks to the local OpenCode HTTP/SSE API, so OpenCode keeps its own sessions, streaming, tools, permissions and model selection. The OpenCode tab embeds the official web UI and pairs with opencode service through a one-time sign-in link. Cleartext traffic is permitted only for loopback (127.0.0.1 and localhost). With automatic execution enabled, tool permission prompts are approved once; otherwise they are rejected in the assistant and can be approved in the full OpenCode tab.

Persistence and update compatibility

TFM persists messages, named work sessions and command history in its app data. The Room database migration imports legacy v0.3 chat/session data transactionally. Preferences are kept in DataStore with compatibility for older settings, while existing AI keys remain protected by their historical Android Keystore identity. File operations are stored with completion or failure details so leaving the screen does not erase their history.

Existing Termux workspace files, including ~/.TFM-setting/Memory.md, instructions.md, config.json and the older system-propmet.md spelling, retain their established names. Back up critical files and settings before major updates or uninstallations.


Troubleshooting

Problem What to check
APK won't install Confirm you downloaded .apk from Assets, allowed your file manager to install unknown apps, and have a supported Android version.
"App not installed" during update The existing install may use a different signing certificate. Back up first; do not assume deleting the app preserves data.
Termux not connected Open Termux once, grant TFM's command permission, run the setup command shown in TFM and restart Termux.
Shared folders not accessible Run termux-setup-storage in Termux and approve Android storage permission. Android private app folders remain restricted.
AI authentication or rate limit error Check selected provider, endpoint, API key or sign-in state, model availability, account quotas and provider error output.
OpenCode fails to start or pair Confirm the device is Android 10+ on arm64 and Termux is connected. Use Restart in the OpenCode tab, then Reconnect to create a new one-time sign-in link. Installation may take several minutes.
Terminal command still running Review the session's command status. Stopping the assistant does not guarantee cancellation of an already dispatched Termux process.
Release isn't available Look at GitHub Actions; publication requires a successful signed release build.

Build from source

Requirements: JDK 17, Android SDK Platform 35, Python 3 and the Gradle wrapper provided in this repository. The application uses Kotlin/Compose with minimum SDK 23 and target SDK 32 (retained for Termux command compatibility).

git clone https://github.com/its-zain-dev/TermuxFileManger.git
cd TermuxFileManger
python3 -m unittest discover -s tests -v
./gradlew --no-daemon testReleaseUnitTest lintRelease assembleRelease

A plain Gradle Release build is unsigned unless the four supported signing environment variables are configured. Maintainers can use python3 scripts/release.py --build to create/reuse their private local signing identity. For automated publishing, the dedicated workflow requires a previously provisioned permanent key in GitHub Actions Secrets and verifies the signed APK before attaching it to a release. Never commit .signing/, keystores or passwords.

For test devices or emulators:

./gradlew --no-daemon connectedDebugAndroidTest

The project uses the Gradle 8.9 wrapper, Room, DataStore, OkHttp, and a Termux JSON file bridge. The codebase is organized into core, data, features, ui and assets/file_bridge.py. Android test artifacts are for validation; downloadable releases contain Release APKs only.

Documentation and project links

Resource Link
Latest signed APK and release notes GitHub Releases
All builds and previous releases Release history
Installation and signing information Release guide
Feature history Changelog
Arabic instructions دليل الاستخدام
Validation results Validation notes
Capture new application screenshots Screenshot guide
Continuous integration GitHub Actions
Download Termux File Manager for Android
Native Android tooling for Termux · Open source · English and Arabic

License and F-Droid preparation

Termux File Manager's original project code and artwork are licensed under GNU GPL v3 (GPL-3.0-only) unless otherwise noted. See COPYRIGHT for third-party notices, privacy information, and the F-Droid preparation checklist. Release builds from GitHub and F-Droid may use different signing keys and cannot update one another in-place.

About

Native Android GUI file manager for Termux. Manage files, run shell commands, use developer tools, and connect AI coding providers on Android.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages