How to use Cydia from terminal on iOS 13
Share:

dev

Cydia is the Package Manager available since the beginning of jailbreak. Most of the s are adding new sources, installing, and removing packages from the GUI. Did you know that you can execute commands also from terminal to fix some issues when Cydia app is not working?

It's always easier and faster to install packages from Cydia app, but you can also run some command line tools to add new sources, install, remove, or check the list of installed packages, and more. This knowledge will be very useful when you install a tweak that will crash Cydia.

Cydia commands executed from terminal on iOS 12

Cydia uses Advanced Package Tool (APT) software to handle the installation and removal of apps, tweaks, libraries on iOS devices. APT is also used as a backend for terminal iOS app to access and execute Cydia commands.

Cydia terminal commands 635k6l

Display list of all installed packages on iOS.

apt list --installed

Listing... Done.
bzip2/now 1.0.6.2-2 iphoneos-arm [installed, local]
com.bingner.plutis/now 0.1.0 iphoneos-arm [installed, local]

Install package from available source list.

apt-get install com.cootek.touchpalinputmethod

Remove selected package by name from the system.

apt-get remove com.cootek.touchpalinputmethod

Reinstall package and its installed dependencies

apt-get --reinstall install <package>

Update all available Cydia repositories.

apt-get update

Erase ed archive files and free space on your device.

apt-get clean

Perform an upgrade of installed packages.

apt-get upgrade

Add, remove, or edit the list of Cydia Sources using free nano command line text editor.

nano /var/mobile/Library/Caches/com.saurik.Cydia/sources.list

Activate su (short for substitute ).

su

: alpine

All installed packages via Cydia will be available from /var/lib/dpkg/info directory.