r/termux • • Dec 19 '24

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

360 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

299 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).

Termux 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.

Best devices for Termux

As of 2026, almost any budget Android device will be enough to run Termux and be suitable for the most tasks.

Key specs to look for:

  1. Storage: the most important resource, recommended minimum is 256GB. Termux runs copies of packages you'll find on server/desktop Linux distributions, so the disk usage isn't really "mobile". On some setups Termux app may consume tens of gigabytes and that is absolutely normal.
  2. RAM: 6GB is recommended minimum and should be enough in most cases. If you plan to run LLMs, you definitely will need more. Remember that RAM on your device shared with Android OS and other apps, so Termux will get less than shown in device specs.
  3. Possibility for rooting and custom ROMs - must have if you are a "power user".

Gaming smartphones could have better heat dissipation which would be good for those who run heavy processes (compilation, LLMs, etc).

Warning for e-Ink owners: if you ever decide to use Termux (especially with X11 apps) on device with e-Ink display, acknowledge the risk. Pixels of e-Ink screen have limited refresh cycles (some manufacturers estimate ~10M) and are not designed for dynamic content. It's possible to "burn" the display within few months of active use.

Community: 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.

Community: Vibe coded content

We generally allow publishing vibe coded software. However it should match /r/termux topic and don't violate community rules. Feel free to submit everything that you believe might be useful.

Content might be removed at moderator's discretion without explanation.


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


r/termux • • 4h ago

General This is Why I Love Termux

Post image
15 Upvotes

One thing I love about Termux is that I learn something new almost every day.

I don't have a background in tech, so every little thing I manage to build feels like an achievement. Recently, I started exploring Hugo and built my own little static webpage/little blog. It may not be perfect, but it's mine, and I'm proud of that.

Now, the next challenge is getting it live on the internet. Maybe even run the blog seriously.


r/termux • • 6h ago

General Termux api problem

Post image
4 Upvotes

I have installed the Termux:API app and granted all the required permissions, but I'm still getting this error.


r/termux • • 3m ago

Showcase Codex Authentication on 32-bit ARMv7

1 Upvotes

I made this in case... well, so that everyone running a Termux ARM build can finally, not only install codex as an open source coding agent, but login and use their OpenAI subscription. Not paying for API feels so good.

I'm sure there are hundreds—thousands, even—of Termux users tired of being cast aside because of their 32 bits. I'm sure of it. Well, it's in alpha, but she works, which, frankly, shocked the shit out of me. Updates soon. Thanks everyone.

https://github.com/tdotlab/codex-logged-in-armv7


r/termux • • 9h ago

Question anyone else get their AI agent killed mid-task in termux? (signal 9)

3 Upvotes

running claude code / opencode in termux and if i leave it doing something longer than a few mins in the background it just dies with "Process completed (signal 9) - press Enter" and i lose the whole session. tried unrestricted battery + wake lock, still happens sometimes.

also curious how bad battery and data get for you guys running these for a while — mine cooks pretty fast on mobile data. anyone found something that actually holds up or is this just life on android rn


r/termux • • 10h ago

Showcase I built a 4MB Go client to use Google Cloud Shell from Termux (free 8GB RAM Linux VM)

2 Upvotes

A lot of us building on Termux hit the same walls most times: not enough RAM or storage for heavy builds, and some things (like Docker) can't run at all.

Google Cloud Shell gives you a free Linux VM with 8GB RAM, 2 vCPUs and 5GB persistent storage, with no credit card or billing attached. The official ways in are the browser or the gcloud CLI.

gcloud is 500MB+ and runs on Python, which makes it slower to start up. That's fine for gcloud since it does a lot of things, but not when you just want to use Cloud Shell.

So I built gshell, a standalone terminal client for Cloud Shell, written in Go. The binary is under 4MB and you connect straight from Termux.

Install: pkg install tur-repo, then pkg install gshell. Run gshell auth login to sign in, then gshell to connect.

The demo shows gshell connecting, and uname -m / free -h on my phone vs the Cloud Shell VM.

It has limits: a 50-hour weekly quota, and anything outside $HOME is wiped when the VM reboots, so it's not a VPS replacement.

Repo: https://github.com/Spectra010s/gshell


r/termux • • 10h ago

General Preciso de scripts

1 Upvotes

Alguém pode me passar algums reposotórios pra eu começar a usar scripts


r/termux • • 19h ago

General LaTeX2e under Termux

3 Upvotes

Hi folks,

First off, I am running two android devices. One is a Android phone with 4 GB of ram and 64 GB of storage, the other is an Amazon Kindle Fire 8 (3GB ram with 32 GB of storage​​). I "can" edit and use LaTeX on both systems using the F-Droid app TexSlate as an app, however, I prefer the console. The standard Texlive install for termux works on the phone, but crashes both the install on the Fire, and borks the device a bit. I am impressed with Tectonic as an LaTeX compiler, and would like to install it at the command line under termux, especially on the Kindle (works under TexSlate​, but since this is an app, it is unavailable on termux). I have tried several times and it blows up with rust / cargo errors. Any suggestions?


r/termux • • 1d ago

Question How do I SSH without a LAN?

4 Upvotes

I use my mobile as a hotspot to share internet with my two laptops. I want to enable rsync on my mobile and laptops. The issue is I'm unable to ssh into the mobile. I have checked that sshd is enabled and by default using 8022 port along with passwordauth allowed. I'm simply timing out of ssh. I think this has something to do with my network topology as its not a LAN. Because when I had devices on wifi I was able to ssh easily.


r/termux • • 1d ago

Question hi guys, I am on vim and try to copy to clipboard, so I am on vim and tried to copy to a register with "+y but despite yanking it doesn't appear on my clipboard, how do I fix it?

4 Upvotes

r/termux • • 1d ago

General Android needs per-app control over Phantom Process Limits, not just a global on/off switch.

Thumbnail issuetracker.google.com
14 Upvotes

I sent a feature request to the Android team about Phantom Process Limits, and I want to know what other Termux and UserLAnd users think about it.

The problem

By default, Android allows only 32 phantom processes for all apps combined. This can be a problem for apps like Termux, especially when you run many processes, scripts, or background tasks.

I want to raise this limit only for Termux, without changing the rules for every app on my device.

For example:

AppProcess limit
Termux350
UserLAnd128
Other appsShare the default limit of 32

These numbers are only examples. Users should be able to choose the right limit for each app.

What about the current workaround?

Android 14+ already has "Disable child process restrictions" in Developer Options. But it's a global switch: you keep the restrictions on, or you turn them off completely.

My proposal

Add a setting in the Android Settings app that lets users:

  • Change the global phantom process limit
  • Set a different limit for specific apps
  • Keep the current default if they don't want to change anything
  • See a clear warning before raising any limit

Why number limits, in normal Settings?

1. More room, with a safety net I can give Termux more processes without removing the limit completely. If a buggy script or a fork bomb goes out of control, there is still a limit to stop it.

2. A clear warning for the risks Android can show a warning about battery and RAM use before you change anything, like it already does for sideloading apps or accessibility services.

3. No need to keep Developer Options on Some banking and finance apps refuse to run when Developer Options is on. A normal setting avoids this problem.

This also gives users more control without using ADB, Shizuku, or root.

I'd like to hear from you

  • Have you had this problem in Termux or other apps?
  • Would a per-app limit be useful to you?
  • Should this be built into Android Settings?

👉 If you find this useful, please:

  1. Upvote this post ⬆️ so more people can see it
  2. Star ⭐ the issue to show Google that you want this feature
  3. Share your experience in the comments on the issue

An upvote here doesn't count as a star there. Open the link, sign in with your Google account, and tap the ☆ next to the issue title.

⭐ Star the issue here


r/termux • • 1d ago

Question To what extent can termux packages circumvent the upcoming restrictions on android apps not from the Google Playstore?

1 Upvotes

Yes, I know Termux is far from the best or most accessible options for tackling that problem, but it is a viable one.

So I'm asking the people who are familiar with how Termux interacts with Android: is the upcoming restriction going to cripple Termux as well, or will its package manager remain a viable source of sowtware not beholdant to Google?


r/termux • • 2d ago

General 在termux环境中新的youtube工具

78 Upvotes

r/termux • • 2d ago

Showcase Yet another phone-to-screen desktop app base on Termux-X11

29 Upvotes

Device: Xiaomi 15 Ultra + bluetooth mouse and keyboard + external portable usbc display, on the external display running Android Chrome, Ubuntu Chrome, Mac Remote Desktop and Ubuntu Xfce Terminal, phone itself can use as trackpad also keyboard. Ubuntu Chrome plays youtube video with GPU decoding.


r/termux • • 2d ago

Question Problem with ssh-copy-id

3 Upvotes

Been trying to copy some ssh keys from my tablet to a remote host.

~ $ ssh-copy-id -i ~/.ssh/sammael.pub me@sammael

/data/data/com.termux/files/usr/bin/ssh-copy-id: ERROR: Too many arguments. Expecting a target hostname, got:

Usage: /data/data/com.termux/files/usr/bin/ssh-copy-id [-h|-?|-f|-n|-s|-x] [-i [identity_file]] [-t target_path] [-F ssh_config] [[-o ssh_option] ...] [-p port] [user@]hostname

-f: force mode -- copy keys without trying to check if they are already installed

-n: dry run -- no keys are actually copied

-s: use sftp -- use sftp instead of executing remote-commands. Can be useful if the remote only allows sftp

-x: debug -- enables -x in this shell, for debugging

-h|-?: print this help

~ $

...which is not quite what I expected. I'm specifying the identity file, and only listing one user@host, so I'm not sure what I might be doing wrong.

Technically I can make things work by using 'cat' and piping it results into the authorized_keys file via SSH... but I'm kinda used to the syntactic sugar of using 'ssh-copy-id' ;)


r/termux • • 2d ago

Question Launch Android native apps from Termux?

11 Upvotes

That's right, I'd like to know of a way of launching native Android apps (installed from the Play Store) from Termux, which of course means from a bash command or script in the Termux terminal. In particular, I'd like to know how to launch an app such as VLC player for such files as mp4, mkv, webm, etc. This would obviously involve somehow passing the file as an argument, or alternatively, somehow invoking the player through Android's filetype association system.

TIA.

Edit: Answered very adequately by u/smarthoushai and u/dvhh. Summary: use termux-open or am.


r/termux • • 2d ago

Question Termux's terminal emulation gripes

3 Upvotes

I'm absolutely frustrated by the termux terminal emulation itself. I tried using it like a developer setup with neovim, tmux, etc but TUI apps like antigravity always get corrupted rendering in it. The same chroot bash in kitty in termux:x11 works fine. You're supposed to be able to switch to other bash prompt/sessions by swiping from the left edge but it never works for me - swiping left to right just backs out of termux app. I have to use termux:x11 and it's fine with a keyboard and mouse but if Im on a bus or park or something it's painful without gestures.

Before I vibecode a termux fork that uses libghostty; I wonder if anyone has any experience with getting PRs merged to fix this in termux itself or if someone else already worked on it?


r/termux • • 2d ago

Barely Termux related Termux displaying on iPad Air 2 anyone?

Post image
6 Upvotes

Used NoVNC to display the Termux software to my iPad Air 2 from my Moto phone to gain a bigger monitor for my Termux work.


r/termux • • 4d ago

General Running a 0.55-bit 8B LLM in 1.20 GiB RAM on non-rooted Termux (4.78 t/s on Dimensity 8350 Ultra)

Thumbnail gallery
51 Upvotes

Built a zero-local-toolchain pipeline on top of GeniusDevam/littlebit-gguf to run sub-1-bit LittleBit models on non-rooted Android phones: GitHub Actions cross-compiles llama-completion + llama-bench (Android NDK + GGML_CPU_KLEIDIAI=ON), Google Colab converts LittleBitLLM/littlebit-qwen3-8b-0.55bpw (--embd-type q4_k), and Termux runs it natively.

Hardware: Realme P3 Ultra — Dimensity 8350 Ultra (4× Cortex-A715 + 4× Cortex-A510), Android 16 (asimddp, i8mm, sve2).

Benchmark

(llama-bench -ngl 0 -p 128 -n 32 -r 3, ~1.20 GiB RAM):

-t 2: 1.86 t/s prompt | 1.67 t/s gen

-t 4: 5.62 t/s prompt | 4.78 t/s gen (sweet spot)

-t 6: 4.94 t/s prompt | 1.69 t/s gen

-t 8: 5.26 t/s prompt | 2.07 t/s gen

Key takeaways:

Big.LITTLE cliff: Going past 4 threads spills onto the Cortex-A510 efficiency cores and drops generation speed by more than half.

KleidiAI: Accelerates Q4_K embeddings/output (KLEIDIAI = 1), while Q1_0 tensors fall back to ARM NEON.

Quality note: This 0.5-epoch 0.55bpw checkpoint is strictly a memory/speed proof-of-concept, not a usable chat model yet (needs -no-cnv --repeat-penalty 1.18 --dry-multiplier 0.8 to avoid loops).

Full reproducible repo (Actions workflow + Colab notebook + bench-android.sh):

https://github.com/aj5649169-svg/littlebit-gguf

Curious what numbers bench-android.sh gets on a Snapdragon 8 Gen 3 / 8 Elite if anyone tests it!


r/termux • • 4d ago

General No laptop, just an Android phone and Termux — finally finished my open-source bioinformatics project

Thumbnail gallery
21 Upvotes

Hey everyone,

Just wanted to share a small milestone here because Termux is literally the only reason I could build this.

I don't own a laptop, so for the past few weeks I've been writing Python, running tests, and pushing code to GitHub completely from my Android phone using Termux (connected to GitHub's free cloud tier for heavier runs).

The project is an open-source research tool for checking DNA variant files offline. A lot of standard genetic tools are trained mostly on European data, so they can be inaccurate or accidentally filter out real mutations in South Asian, African, and other populations. I built a lightweight offline tool that fixes those probability scores across 7 ancestries and catches 19 known mutations that usually get filtered out by mistake.

Just got all 27 tests passing (screenshot from my phone above) and got an official Zenodo DOI for it today. It's still strictly a research/QA tool (not a medical device), and coding on a phone screen tested my patience a lot, but honestly it feels good to finally ship it.

If anyone wants to check out the code or try the browser demo:

GitHub: https://github.com/Nikhilbharti284/genomic-equity-conformal

Live demo: https://nikhilbharti284.github.io/genomic-equity-conformal/index.html

Zenodo DOI: https://doi.org/10.5281/zenodo.24465257

Happy to share my Termux setup if anyone else here is coding without a laptop!


r/termux • • 4d ago

Showcase APK installing on devices with 24 hour waiting period via termux

Thumbnail gallery
7 Upvotes

Hey so 10 days ago I updated my small project which is a TUI way of installing APKs via adb mostly cause android will push a update to make us wait a whole ass day to install APKs so I made it here's the showcase, the first 3 images are from 10 days ago

Here's the link if you wanna check it out

www.github.com/precisescope/CLI-INS


r/termux • • 3d ago

General what happens with plasma

1 Upvotes

startplasma-x11 ─╯

CANNOT LINK EXECUTABLE "startplasma-x11": cannot locate symbol "_ZN14QObjectPrivateC2E16QtPrivate_6_12_0" referenced by "/data/data/com.termux/files/usr/lib/libQt6Qml.so.6.12.0"...


r/termux • • 4d ago

Showcase Familia, He traído DXC a termux

6 Upvotes

DXC / directx compiller

Pueden bajar el precompilados directamente o bajar el repo y compilarlo

https://github.com/LexusYTG/dxc-termux


r/termux • • 5d ago

Barely Termux related Termux sessions on your homescreen

26 Upvotes

Hi everyone! Just wanted to show this off. it's still termux related so i jope you'll be interested. Running on Re:TUI Launcher terminal mode. it is not part of release just yet. I barely got it functioning a few minutes ago. but the sessions are backed by termux . each session is a tmux pane input output is handled by an ssh bridge between the launcher and termux.

thank u for reading and watching. Stay Re:markable <3