Ever wished you had a native command line in iOS? You know, like a Terminal app for iPad and iPhone? Wish no more, the aptly named Terminal for iOS is here, and it’s free!
Terminal is a sandboxed command line environment for iOS that has over 30 commands currently available, covering many of the most used command line tools and commands you know and love, like cat, grep, curl, gzip and tar, ln, ls, cd, cp, mv, rm, wc, and more, all available right on your iPhone or iPad.
Terminal for iOS works great on both the iPad and iPhone, and while it’s probably best suited for iPad due to the larger screen size, it’s still fun to play with on an iPhone with a smaller display.
Update: the developer changed the name to OpenTerm from Terminal, but the application otherwise remains the same.
Download OpenTerm / Terminal for iOS
Download the app to your device, the icon looks much like the same-named app on the Mac, and launch it on your iPhone or iPad to have some fun.
We have the full supported commands list further below if you’re interested in this, as does the apps description in the iOS App Store. Because the command line is completely sandboxed, it can also offer a nice and relatively safe way for beginners and more novice users to explore the command line, since all of the commands included in Terminal for iOS will work in Terminal for MacOS, as well as other unix environments.
Terminal for iOS gets particularly interesting because you can interact with iCloud Drive from it, so you can make and modify directories and files on the fly, and if you split screen the Files app with Terminal app you can watch it all unfold. This means you can tinker with iCloud Drive from an iOS device much like you can access iCloud Drive from the command line on a Mac, which opens up a lot of fun opportunities.
And yes, you can access the Terminal apps iCloud Drive data from a Mac via Finder or another iOS device via Files app, as long as they are using the same Apple ID. On the Mac just open iCloud Drive as usual and look for “Terminal” to find the default working directory of the namesake iOS app.
Personally I’m hoping a future updated version of Terminal for iOS includes a text editor like nano, emacs, or vim, but even without one, it’s fun to use. As for the currently supported full commands list…
Open Terminal for iOS Available Commands List
OpenTerminal for iOS currently supports for the following commands:
Many of our command line tips are directly applicable and relevant for Terminal for iOS, including counting lines in files, downloading files with curl, checking device uptime, and much more, as long as it’s based on a command supported by the app.
Oh and this is probably worthwhile to clarify, but despite sharing the Terminal name with the native Mac app (Terminal.app found in /Applications/Utilities/ of MacOS), Terminal for iOS is not an official Apple release. Instead it’s the work of a crafty developer Louis D’hauwe who open sourced the project, found here on Github if you feel like digging around in the source code or building it yourself in Xcode to modify and sideload to an iOS device. But unofficial or not, it is a command line, in iOS. Woohoo!
As you can see there’s plenty to get started with, though a text editor and ssh would really take this app over the top. Fingers crossed!
If you like to tinker around in the command line, you’re sure to have fun with this app on your iPad or iPhone, so check it out!