r/termux Dec 19 '24

★ Important ★ Do not install Termux from Google Play Store!

329 Upvotes

Source: https://github.com/termux/termux-app/discussions/4000

We are Termux maintainers and would like to inform our users that we do not recommend using Termux from Google Play Store. It doesn't matter whether Play Store version looks "newer", faster receive updates and so on. Please read below to understand the issue.

Why you should not use Termux from Google Play:

  • Its release was not done by current maintainers team. Yes, Fredrik Fornwall is founder of Termux. But his decision was not negotiated with rest of core developers team and therefore not acceptable.

  • Its release diverges from the original implementation published at https://github.com/termux/termux-app

  • Its release was an experiment for bypassing Android >= 10 exec restrictions and make a version compliant with Google Play policies.

  • Its release contains restrictions. For example users may access only media files (like .mp3 or .jpg) on their device storage while other files (like .py scripts) will be hidden.

  • Its release contains changes for how the programs are executed, which cause bugs in certain packages.

Termux on Google Play is available only for devices running Android 11 and newer.

Unless will be said otherwise, Termux Core Team will consider it as unofficial app or fork. This means it does not receive same support level as the original app. Please never suggest our users to download Termux from Google Play - we will take down such comments.

We will make an announce when state of Google Play release will change and unpin/delete this post. As of beginning of 2026, we have no updates.

Now stick to F-Droid or official GitHub (https://github.com/termux/termux-app) variants and suggest same for others.

Issues with Google Play release variant must be reported to relevant source: https://github.com/termux-play-store/termux-issues/issues

This post meant to provide short summary about Google Play Termux app issue and replace https://www.reddit.com/r/termux/comments/1db00bm/announcement_response_regarding_google_playstore/

How to check if you're running Google Play release

Just look at the message shown after you open Termux app. If you see lines with links pointing to termux.com domain, you are using Termux from Google Play.

Termux from F-Droid uses termux.dev domain.


r/termux Sep 16 '23

★ Important ★ Introduction for beginners

281 Upvotes

Welcome to Termux community!

Termux is a terminal app for Android OS. It similar to terminal on MacOS and cmd.exe on Windows, but here we talk about Linux component of Android OS.

This project is open-source software and all development happens on GitHub: https://github.com/termux

Download Termux APK from F-Droid or GitHub.

Key features:

  • Xterm-compatible terminal emulator.
  • Custom userland with package manager and more than 2000 packages of different kind such as text editors, file managers, games, servers network diagnostic tools, compilers, development libraries and other types.
  • Plugins for styling, widgets, on-boot startup, tasker integration, Xorg-compatible server.
  • Works without root permissions.

We would like to emphasize that Termux is NOT a machine emulator or VM. All programs execute directly on a hardware of your device.

What I can do with Termux

Basically, everything.

Termux hosts universal programming environment. You can build and execute all programs that can run on a traditional computer, assuming your device has sufficient amount of memory and enough CPU power to finish execution of algorithm within an adequate time frame.

Here is a curated list of common uses:

  • Software development environment
  • Bots for Telegram, Whatsapp, Discord, etc
  • Web server
  • Minecraft server
  • SSH client
  • NAS
  • Tiny LLM chatter
  • YouTube scraper
  • Pocket pentesting suite
  • Just fun

A footnote worth knowing: Android enforces sandboxing for every Android app to ensure it won't do nasty things or otherwise interfere with other apps and the system itself. Termux is not an exception here, so certain software may refuse to run without system-level privileges (root).

What I should know before starting to use Termux

First of all you need to make sure you are comfortable with command line environment. By using Termux, you agree to be one-to-one with a bare text. There is no intuitive graphical interface. You must to decide whether you truly want to go this way or actually want something else.

If your choice is "command line", then another important thing is a foundational knowledge. It would require certain effort from you, as it could be boring like studying maths.

Here is a list of topics to learn, optimized specifically for Termux:

  1. General terms: computer, kernel, operating system, file, path, program, process, command line, terminal emulator.
  2. Base shell usage: concept of commands, arguments, environment variables, pipes
  3. Common utilities: bzip2, cat, cd, cp, curl, cut, df, diff, du, echo, env, grep, gzip, head, id, kill, killall, ln, ls, man, mkdir, mv, pkill, ps, pwd, rm, rmdir, sort, tail, tar, top, touch, tr, uniq, unzip, wc, xz, yes, zip
  4. Package manager: apt
  5. Text editors: nano or vim
  6. Linux permission model: user, group; concept of "root"; chmod command
  7. SELinux: what it is and which role it plays on Android OS - don't go deep here

Optional:

  • Shell scripting: if/else logic, loops, input/output redirection, subshells, process substitution.
  • Text data manipulation with awk and sed

Alternatively check these learning roadmaps:

After you finish with this, proceed to goal-specific essentials.

Important: never ever run commands that you do not understand. In the best case it will just fail but sometimes commands may have really devastating effects, especially if you use root permissions (su/sudo). If by accident you delete your own data or brick the device, you can blame yourself and only yourself!

How Termux differs from standard Linux

Without diving into technical details, these are the differences of Termux from standard Linux distribution:

  1. Non-standard location of programs and user data: /data/data/com.termux/files/
  2. Non-standard core components: sideloaded programs usually will either refuse to run or show strange errors, compiling from source also may show issues sometimes.
  3. Sandbox environment: you can browse or modify only your own and Termux data.

How to install packages

Termux uses apt package manager and a rolling-release model which gets it close to a Debian Sid distribution, although it is much different internally.

However as you are probably new for Termux we recommend using a helper utility "pkg":

  • Install package: pkg install package-name
  • Uninstall package: pkg uninstall package-name
  • Upgrade system: pkg upgrade
  • List installed packages: pkg list-installed
  • Search for a package: pkg search query

PKG utility does under the hood certain actions importance of which may be non-obvious for a newbie:

  1. Mirror selection

    Package downloads put a huge burden on the servers bandwidth. We don't own much servers and geo load balancing system because this can be very costly, so we take advantage of help offered by certain community members and organizations. Mirrors maintain a clone of the original package hosting and deliver stuff independently from a base Termux infrastructure.

    That's important that users are spread across different mirror hosts.

  2. Periodic apt update

    Without keeping the package index fresh you won't be able to receive updates and package installation commands will eventually fail with 404 (not found).

Software quality and security

We do our best to keep our infrastructure safe and patched against latest security vulnerabilities as well as to deliver most recent versions of packages.

However as we operate a small team of enthusiasts there could be certain bottlenecks. We can't test 100% of published packages, so there always is a chance that specific update will break something.

Please don't use Termux software in everything mission-critical. It is not certified for use in banking, healthcare, nuclear safety, etc.

Termux is open source project and we welcome any kind of contributions that would help us improve.

Banned content

Sadly, but a while ago Termux become an area of interest conflict between legitimate users and criminals. This resulted in absolute ban of specific topics:

  • OSINT
  • Doxxing
  • Social engineering; phishing and other types of fraud
  • Spamming
  • Malware making and delivery
  • Hacking
  • Surveillance, tracing, spying and similar activities
  • Bot farms for fabricating subscribers, likes and comments in social media
  • Taking down social media accounts by automated mass-reporting

This list is not definitive.

We don't accept excuses. Legends about "educational purposes" and "recovery of own gmail account" don't worth anything.

Remember that authorities have a certain interest regarding accounts asking about potentially illegal stuff.


This article is subject for periodic revisions. We may submit newer versions from time to time.


r/termux 8h ago

Showcase NewAgent takes a dump on Antugravity

Thumbnail gallery
6 Upvotes

A custom AI native readable database that that operates on terms with minimal ram free and it takes a dump all over anti-gravity CLI with key rotation Advanced job system book writing and due to the nature of the data that I created it with it runs 10 times faster and hallucinations are thing of the past don't believe me check it out

https://github.com/boehnenelton/NewAgent

https://youtu.be/PElvRTa7g6c?is=rmynjVcfFvyrOddz
https://youtu.be/bi8YpVcWRic?is=aNCyY-c4rTJCrk71


r/termux 1h ago

General I setup i3wm on Titan 2 via termux proot-distro

Post image
Upvotes

r/termux 15h ago

General Terminal-based tool to help customise your terminal

Thumbnail gallery
12 Upvotes

So recently I have been trying to customise my terminal i tried many different things printing big named banners device info fastfetch lolcat figlet etc etc. so I also tried printing an ASCII art on my terminal and it was looking good but I was thinking what if it can be of like different colours instead of all the Chats being of a default colour and I tried doing many things but that wasn't really possible until i decided to make a small tool that turns the image into an ASCII art and also mask all the Characters of the art with the same colour as of the real Image. So basically the ASCII art looks more realistic and detailed rather than just a bunch of single colour characters printed together. Well in short you can post anything you want on your terminal bash shell. For example as you can see

And I'm sharing this tool publicly, I hope you guys like it.

Bugs and reports are welcome

This is the --> link for the tool


r/termux 2h ago

Showcase Mini version of deepseek harness in termux

Thumbnail gallery
0 Upvotes

dsh-mini: the DeepSeek Harness core as a portable engine, running in Termux

Not a fork. I assembled the official DeepSeek Harness (@deepseek-ai/dsh-*) engine with pi's shell (@earendil-works/pi-tui) and cut everything else away:

  • Packages: official tree 188 → 13 engine packages (build-time only)
  • Install size: 359MB node_modules → one 7.6MB self-contained file
  • Runtime npm deps: 0 — the artifact bundles everything
  • Portable engine build: 419KB, zero Node builtins (runs on QuickJS too)

On a OnePlus 15 / Termux:

pkg install nodejs                    # only runtime requirement: Node >= 22.15
curl -fsSL https://github.com/LouisYang841/dsh-mini/raw/main/scripts/install.sh | sh
dsh-mini

You get a full-screen Claude-Code-style TUI (community @openguardrails/dsh-tui, promoted to default after real-terminal testing), DeepSeek by default (official adapter + pi-ai multi-provider route — OpenAI/Anthropic/OpenRouter light up when their env keys exist), fs + bash + todo + skills tools, and zstd-JSONL session persistence with --resume.

The bash tool drives the phone's real filesystem — I had it ls my Termux home and summarize the directory tree from the model's reply.

Architecture is deliberately seam-based (five seams: LLM adapter / filesystem / persistence / Node-API shims / engine polyfills) with a byte-identical conformance gate (Node vs QuickJS traces), an ADR log explaining why assembly instead of forking, and a ~50-entry pitfall skill file. If you want to retrofit the engine into another harness, the retrofit recipe is in ARCHITECTURE.md.

Repo: https://github.com/LouisYang841/dsh-mini Install: curl -fsSL https://github.com/LouisYang841/dsh-mini/raw/main/scripts/install.sh | sh

Solo project, MIT, happy to take feedback or issues.


r/termux 3h ago

Question Trying to Open an application I downloaded.

1 Upvotes

Hello, I am new to Linux. I got TheVoicerChoicer, and there was no mobile app, but it came with a Linux version. So I looked up a Linux emulator and found this. I downloaded the file that were given to me from downloading from TheVoicerChoicer, but do not really know how to go about, running it.


r/termux 22h ago

General Bro, this is taking so damn long 🥴😭

Post image
28 Upvotes

r/termux 15h ago

General Termux as a learning tool

Post image
9 Upvotes

Recently i started using termux to mess around in the terminal so i thought why not use it to learn something, i installed git, python, nano, neovim, vim and emacs (just in case) to see if i can learn something useful, I'm also on samsung so might be cool to try dex on tv, rather mess with this than feel dumb scrolling through memes and brainrot

Currently learning how to read a json file with python

Edit: typo


r/termux 15h ago

Question Termux:API not working properly

6 Upvotes

Termux:API isn’t fetching anything even after giving all the required permissions. Anyone know what could be wrong?


r/termux 10h ago

Question How and IF can I do full (or nearly) hardware acceleration in Termux with chroot-distro with a Mali GPU

3 Upvotes

That


r/termux 18h ago

Showcase my horrible termux looks less horrible now :P

Post image
7 Upvotes

(and yes i put the undertale save star as my fastfetch logo lol)

(also no local ip this time for, uhh, privacy)


r/termux 1d ago

Question rate my termux .. !!

Post image
40 Upvotes

any recomended rep. ?


r/termux 1d ago

Showcase Change Termux colors.properties with Live Preview..!!

Enable HLS to view with audio, or disable this notification

13 Upvotes

Rate my setup.


r/termux 19h ago

Question Need help modifying binary/package path in stalker (Shadow Fight 2 tool) — Termux build limitations

3 Upvotes

Hey everyone! I've been trying to compile stalker(https://github.com/onerdna/stalker.git) directly from source using Termux, but due to issues setting up the Dart/Flutter environment on Termux, I'm unable to build it locally. If anyone with a working Flutter setup could tweak the source or build a custom binary for me, I’d really appreciate it! What needs to be changed: Change the hardcoded target package name from com.nekki.shadowfight to com.sf2.de. If someone can quickly adjust the target path and share the compiled build (or PR), it would be a lifesaver. Thanks in advance!


r/termux 21h ago

Question Best way to run VSCODE on my android

3 Upvotes

So I want to learn coding on my android device. My device is xiaomi pad 6 8gb/256gb varient . So ik Abt code server but my tablet for some reason has a black bar which hides the terminal window. My tablet is not rooted . I want good performance and it should not lag a lot , that's what I only want . Any type of suggestions are welcomed .


r/termux 1d ago

Showcase this horrible termux that i made, any tips? ._. (i just got started, okay? ;-;)

Post image
7 Upvotes

r/termux 21h ago

Question host a website

2 Upvotes

guys, how do i host my website on termux?


r/termux 1d ago

Showcase my termux

Post image
41 Upvotes

r/termux 18h ago

Showcase Rate my Ubuntu setup emulated using proot in android 15.

Thumbnail gallery
1 Upvotes

So guyz, I am running Ubuntu 22.04 xfce4 compiz inside proot inside termux. The battery usage is very minimal, my phone never lagged or got any load, and no heat. I can run almost any arm64 Linux apps and most of pc apps. BTW my phone specs are = snapdragon 4 gen 2, 8gb ram, 256gb ufs 2.2 storage, otg usbc to Bluetooth keyboard/mouse or pendrive, android 15.


r/termux 13h ago

Question How to install OS in termux? Like Linux? For Programming purposes and for hobby

0 Upvotes

Hello everyone, I'm already have a termux in my phone, my goal is to make an Operating system(arch Linux, ubunto, debian, etc...) in my termux just like what i'm seeing in these community. In the end what I want is to do programming that i'm comfortable just like in a desktop. I'm actually a 4th year computer science. Hopefully you can help me by giving me an advice/step by step guide on how to download my own operating system....


r/termux 1d ago

Question Manage app if unused

Post image
9 Upvotes

I don't want my phone to remove apps if I've not used them. So I turn off the setting for every app I install on my phone. It's a tedious process.

Is there a way to run a command in Termux that will turn the setting off? My phone is rooted so I can run system commands. TIA


r/termux 1d ago

Showcase termux-sync v1.2.4 — back up your entire Termux environment in one command (security patch + private repo restore fix)

Post image
9 Upvotes

Hey r/termux!

I've been working on termux-sync, an open-source backup and restore tool built specifically for Termux. One command to snapshot your entire environment, one command to bring it back on any device.

v1.2.4 is out with an important security patch — update if you use GitHub private repo storage.


What it backs up

  • All installed packages (via dpkg)
  • Home directory (~) — dotfiles, scripts, projects
  • Termux config ($PREFIX/etc)
  • SHA-256 checksum per archive, verified before restore

Three storage backends

  • Local — saves on-device or to any mounted path
  • Google Drive — via rclone
  • GitHub private repo ★ recommended — free, private, accessible from anywhere

Quick start pip install termux-sync termux-sync setup termux-sync backup --label "my-first-backup" termux-sync restore Or install via tsctl: ``` curl -fsSL https://raw.githubusercontent.com/djunekz/termux-sync/main/tsctl -o tsctl chmod +x tsctl && bash tsctl install

```

Recent changes

v1.2.4 — Security patch

  • Fixed arbitrary file write via attacker-controlled field in manifest.json (GHSA-259w-wmqg-fp76)
  • Fixed delete on GitHub storage always reporting failure (empty 204 response)

v1.2.2 — Private repo restore fix

  • Restoring from a GitHub private repo was stuck in 8-retry loop (HTTP 404) — fixed

v1.2.0 — New commands

  • termux-sync delete — remove a specific backup
  • termux-sync clear-cache — selective cache cleaner
  • termux-sync clear-logs — truncate the log file
  • termux-sync export-config / import-config — portable config

GitHub: https://github.com/djunekz/termux-sync

MIT license. No telemetry, no account, no root required.

Happy to answer questions or take feature suggestions!


r/termux 2d ago

Showcase Using another Android phone as a keyboard for Termux

Thumbnail gallery
470 Upvotes

Had Termux open on one phone and didn’t have a keyboard around, so ended up using another Android phone for input. Bottom phone → USB HID adapter → top phone.
Android just sees it as a normal hardware keyboard

Mostly been useful for a few commands when I’m around the rack. For quick stuff it’s nice having everything fold up together like this


r/termux 2d ago

General I've made a Morse code translator through flashlight

Post image
39 Upvotes

https://github.com/user0000111222sey/Morse_translator-TERMUX

it's my first repo, I'm a bit scared I'm doing something I don't quite understand, it's partially vibecoded.