NewTerm 2

Kuba Pawlakqbap | iOS Apps
NewTerm 2

If you are wondering how to run a terminal app on your iPhone it's really easy when you jailbreak your iDevice. NewTerm 2 is a terminal app for iOS that can be installed via Cydia. It supports iPhones and iPads running iOS 10 up to iOS 14.8. Jailbreak required!

Add NewTerm 2 Repo to your package manager.

What is NewTerm 2?

NewTerm 2 is a light mobile fork of the Mobile Terminal and iTerm2 app, the popular terminal emulators for iOS devices. It's packed with a lot of useful features making NewTerm 2 probably the best command-line app for jailbroken iOS devices. Works on iOS 14 and iOS 15.

As a full terminal emulator app for iPhones and iPads NewTerm 2 features a tab-based interface, multi-window support on iPad, as well as support for modern terminal features such as extensions created by the iTerm2 project, autocomplete commands with TAB, and more.

No matter if you need to run quick commands directly on your iPhone, work on projects on your iPad side-by-side with other apps, or SSHing to a server NewTerm 2 has you covered. This is probably the most advanced terminal emulator for Apple mobile devices.

Two iPhone screens showing the NewTerm 2 app iOS terminal and Settings page.

NewTerm 2 extends the iOS keyboard with additional buttons like Ctrl, Esc, Tab, Home, End PgUp, PgDn, and navigation arrows known from desktop keyboards. There's also a trackpad mode (press and hold the Space bar to quickly move the cursor).

The terminal app integrates with iCloud Keychain and other password manager apps allowing you to quickly access and paste stored passwords. This is extremely useful when connecting to various servers. You don't need to remember or write manually every password.

On top of that, NewTerm 2 app is packed also with a few customization options. From app settings, you can change the font family, font size, color scheme, key style input, trackpad sensitivity, and disable bels for the hud, vibrate and sound when typing.

Since iPadOS 13 NewTerm 2.5 offers multiple window support. Use two windows in split-screen, or keep separate windows for each project or server. Press ⌘N or long-press the “+” button to open a new window. On iOS 14 you can use only tabs.

Repository

NewTerm 2 was released as a free package through the Chariz Repo. Add the official NewTerm Repo to your list of Cydia Sources and install the best terminal emulator app for iOS with first-class iPhone, iPad, and Mac support. Works on iOS 10, iOS 11, iOS 12, iOS 13, and iOS 14.

  1. Launch the Cydia app from the Home Screen.
  2. Tap Sources → Edit → Add the https://repo.chariz.com Repo URL.
  3. Search for NewTerm 2 and install the terminal app.
  4. Restart the Springboard to apply all changes.
  5. NewTerm 2 app will be available from the Home Screen.

Alternatively, please use the quick links available at the top of this page to add with just one tap the repository to your favorite package manager (Cydia, Sileo, Installer, Zebra).

Source Code

NewTerm 2 terminal is an open-source app under the Apache License 2.0 with all files available via GitHub Repository. Build the project on macOS. Recent changes to the source code were added on 23 Jul 2022 to get the split view controller event bubbling working.

As long as you have standard libraries for Xcode 12 projects, and Swift Package Manager dependencies installed you can build the project. To install on a jailbroken device, first set up Theos. Then, you can run make do in the root of the repo. 98% of code is written in Swift.

NewTerm 2 Commands

Because iOS is a Unix-like system it offers access to some basic command line tools. Below you can find the list of commands that you can run on jailbroken devices. To find more information about all available options for the selected command enter --help after the command.

onejailbreak-iPhone:~ mobile$ mkdir --help
Usage: mkdir [OPTION]... DIRECTORY...
Create the DIRECTORY(ies), if they do not already exist.

Mandatory arguments to long options are mandatory for short options too.
  -m, --mode=MODE   set file mode (as in chmod), not a=rwx - umask
  -p, --parents     no error if existing, make parent directories as needed
  -v, --verbose     print a message for each created directory
  -Z                   set SELinux security context of each created directory
                         to the default type
      --context[=CTX]  like -Z, or if CTX is specified then set the SELinux
                         or SMACK security context to CTX
      --help     display this help and exit
      --version  output version information and exit
su [login as root with password alpine]
respring [respring the device]
reboot [restart the device]
apt-get [manage Cydia Repositories & Apps]
dpkg [install & manage packages]

cat
cd
chflags
chksum
clear
compress
cp
curl
date
du
egrep
fgrep
grep
gunzip
gzip
help
link
ln
ls
mkdir
mv
printenv
readlink
rm
rmdir
ssh
stat
sum
tar
touch
uname
uncompress
uptime
wc
whoami

What's new

  • The top toolbar has been redesigned to make better use of space.
  • Adds a light UI style.
  • Adds support for trackpad mode.
  • Adds a Password Manager button with support for iCloud Keychain.
  • Adds a variety of new fonts.
  • Adds support for Procursus’s localization functionality.
  • Better handle cases where the shell fails to launch.
  • The top toolbar has been redesigned to make better use of space.
  • Adds a light UI style, where the top bar and keyboard adapt to light themes.
  • Adds support for trackpad mode, where you can press and hold the Space bar to quickly move the cursor.
  • Fixes a long-standing performance issue where significant terminal activity could cause NewTerm to run very slowly or crash.
  • Fixes settings not applying till after restarting NewTerm.
  • Fixes arrow keys not working in application mode programs such as less and vim.
  • Fixes a crash when rotating into the landscape on some devices.

Post a comment