||2 weeks ago|
|.github||3 months ago|
|app||2 weeks ago|
|art||5 months ago|
|fastlane/metadata/android/en-US||5 months ago|
|gradle/wrapper||2 months ago|
|terminal-emulator||2 weeks ago|
|terminal-view||2 weeks ago|
|termux-shared||2 weeks ago|
|.editorconfig||3 years ago|
|.gitattributes||1 month ago|
|.gitignore||2 years ago|
|LICENSE.md||2 months ago|
|README.md||2 months ago|
|build.gradle||2 months ago|
|gradle.properties||2 months ago|
|gradlew||10 months ago|
|gradlew.bat||1 month ago|
|settings.gradle||3 months ago|
Termux is an Android terminal application and Linux environment.
Note that this repository is for the app itself (the user interface and the terminal emulation). For the packages installable inside the app, see termux/termux-packages.
Quick how-to about Termux package management is available at Package Management. It also has info on how to fix
repository is under maintenance or down errors when running
Issue https://github.com/termux/termux-app/issues/1072 needs extra attention.
Termux App and Plugins
The core Termux app comes with the following optional plugin apps.
The APK files of different sources are signed with different signature keys. The
Termux app and all its plugins use the same sharedUserId
com.termux and so all their APKs installed on a device must have been signed with the same signature key to work together and so they must all be installed from the same source. Do not attempt to mix them together, i.e do not try to install an app or plugin from F-Droid and another one from a different source. Android Package Manager will also normally not allow installation of APKs with a different signatures and you will get errors on installation like
App not installed,
Failed to install due to an unknown error,
signatures do not match previously installed version, etc. This restriction can be bypassed with root or with custom roms.
If you wish to install from a different source, then you must uninstall any and all existing Termux or its plugin app APKs from your device first, then install all new APKs from the same new source. Check Uninstallation section for details. You may also want to consider Backing up Termux before uninstallation.
Termux application can be obtained from F-Droid here. It usually takes a few days (or even a week or more) for updates to be available on F-Droid once an update has been released on Github. F-Droid releases are built and published by F-Droid once they detect a new Github release. The Termux maintainers do not have any control over building and publishing of Termux app on F-Droid. Moreover, the Termux maintainers also do not have access to the APK signing keys of F-Droid releases, so we cannot release an APK ourselves on Github that would be compatible with F-Droid releases.
For users who don't want to wait for F-Droid releases and want to try out the latest features immediately or want to test their pull requests can get the APKs from Github Actions page from the workflow runs labeled
Build. The APK will be listed under
Artifacts section. These are published for each commit done to the repository. These APKs are debuggable and are also not compatible with other sources.
Google Playstore (Deprecated)
Termux and its plugins are no longer updated on Google playstore due to android 10 issues. The last version released for Android
>= 7 was
v0.101. There are currently no immediate plans to resume updates on Google playstore. It is highly recommended to not install Termux from playstore for now. Any current users should switch to a different source like F-Droid.
If for some reason you don't want to switch, then at least check Package Management to change your mirror, otherwise you will get
repository is under maintenance or down errors when running
pkg commands. After that, it is also highly advisable to run
pkg upgrade command to update all packages to the latest available versions, or at least update
termux-tools package with
pkg install termux-tools command.
Uninstallation may be required if a user doesn't want Termux installed in their device anymore or is switching to a different install source. You may also want to consider Backing up Termux before uninstallation.
To uninstall Termux completely, you must uninstall any and all existing Termux or its plugin app APKs listed in Termux App and Plugins.
Android Settings ->
Applications and then look for those apps. You can also use the search feature if its available on your device and search
termux in the applications list.
Even if you think you have not installed any of the plugins, its strongly suggesting to go through the application list in Android settings and double check.
All community links are available here.
The main ones are the following.
- Termux Reddit community
- Termux Matrix Channel
- Termux Dev Matrix Channel
- Termux Twitter
- Termux Reports Email
- Termux File System Layout
- Differences From Linux
- Package Management
- Backing up Termux
- Terminal Settings
- Touch Keyboard
- Android Storage and Sharing Data with Other Apps
- Android APIs
- Moved Termux Packages Hosting From Bintray to IPFS
- Termux and Android 10
xterm: The grandfather of terminal emulators. Source.
Connectbot: Android SSH client. Source
Android Terminal Emulator: Android terminal app which Termux terminal handling is based on. Inactive. Source.
For Devs and Contributors
The termux-shared library was added in
v0.109. It defines shared constants and utils of Termux app and its plugins. It was created to allow for removal of all hardcoded paths in Termux app. The termux plugins will hopefully use this in future as well. If you are contributing code that is using a constant or a util that may be shared, then define it in
termux-shared library if it currently doesn't exist and reference it from there. Update the relevant changelogs as well. Pull requests using hardcoded values will/should not be accepted.
The main Termux constants are defined by
TermuxConstants class. It also contains information on how to fork Termux or build it with your own package name. Changing the package name will require building the bootstrap zip packages and other packages with the new
$PREFIX, check Building Packages for more info.