Termux iOS: what works on iPhone and iPad
You cannot install Termux itself on iOS or iPadOS. What you can do is reach a Termux session running on an Android device, or use a different terminal app built for Apple devices. For the longer comparison, read our Termux on iOS guide.
SSH into Termux
Install Termux on an Android device and connect from your iPhone or iPad with an SSH client app.
SSH to a Linux server
If you only need a command line, connect to a Linux machine or server you control instead.
iOS terminal apps
Other terminal apps for Apple devices are different programs. Compare them in apps similar to Termux.
Use Termux from an iPhone or iPad
-
Know the limits
Termux itself runs only on Android. Be careful with any app or site that offers a Termux download for iOS.
-
Get Termux for Android
Press Download App to open the latest-version page and follow its notes on an Android device. Match the Android version and architecture.
-
Start an SSH server in Termux
Install the openssh package, set a password and start sshd, as shown in the commands below.
-
Connect from iOS
Open an SSH client app on your iPhone or iPad and connect to the Android device on the same network.
Connect from iOS over SSH
Start an SSH server in Termux
Run the first block inside Termux on the Android device. In your iOS SSH client, use port 8022. Replace USER and PHONE_IP with the values shown on the Android device.
# on the Android device, inside Termux
pkg install openssh
whoami
passwd
sshd
# in the iOS SSH client
ssh -p 8022 USER@PHONE_IP
Use the same network
The Android device and the iPhone or iPad must reach each other, for example on the same Wi-Fi network.
Set a password
Run passwd in Termux before starting sshd, and do not expose the port to the internet.
Commands run on Android
Files and packages stay on the Android device. The iPhone or iPad only shows the session.
Download Termux for iOS: FAQ
Is there a Termux app for iPhone?
Termux is an Android application, and this site covers no iOS build. Be careful with apps that only use the Termux name.
Can I run Termux on an iPad?
Not directly. Use an SSH client on the iPad to connect to a device that runs Termux, such as an Android phone or tablet.
Where can I read more about iOS options?
See the Termux on iOS guide for alternatives and a safety checklist.
Is there a native Termux iOS installer?
Termux runs on Android. Use an iOS SSH client to connect to Termux on an Android device.