-
pkg update: This command updates the package lists for upgrades and installs.
-
pkg upgrade: Upgrades all installed packages to their latest version.
-
pkg install [package_name]: Installs a package. Replace
[package_name]
with the name of the package you want to install. -
pkg uninstall [package_name]: Uninstalls a package. Replace
[package_name]
with the name of the package you want to uninstall. -
pkg search [keyword]: Searches for packages containing the specified keyword.
-
pkg list-all: Lists all available packages.
-
termux-setup-storage: Sets up storage in Termux to access files on your device.
-
pkg info [package_name]: Displays information about a specific package.
-
pkg list-installed: Lists all installed packages.
-
termux-wake-lock: Keeps the device awake while Termux is running.
-
termux-wake-unlock: Allows the device to sleep normally.
-
termux-open [file/path]: Opens a file or directory with the default app.
-
termux-open-url [URL]: Opens the specified URL in the default browser.
-
termux-toast [message]: Displays a toast message on the screen.
-
termux-volume [option]: Adjusts the volume. Options include
music
,ring
,alarm
,notification
, andsystem
. -
termux-vibrate: Vibrates the device for a specified duration.
-
termux-share: Shares files or text using the Android share menu.
-
termux-clipboard-get: Retrieves the current contents of the clipboard.
-
termux-clipboard-set [text]: Sets the clipboard contents to the specified text.
-
termux-dialog: Opens a dialog box with various options.
-
termux-notification: Sends a notification with the specified title and text.
-
termux-sms-inbox: Lists received SMS messages.
-
termux-sms-send -n [number] [message]: Sends an SMS to the specified number with the given message.
-
termux-contact-list: Lists all contacts stored on the device.
-
termux-contact-get [contact_name]: Retrieves information about the specified contact.
-
termux-sms-list: Lists all SMS messages.
-
termux-tts-speak [text]: Converts text to speech and speaks it aloud.
-
termux-camera-photo [output_file]: Takes a photo using the device's camera and saves it to the specified file.
-
termux-camera-record [output_file]: Records a video using the device's camera and saves it to the specified file.
-
termux-media-player play [file]: Plays the specified audio or video file.
-
termux-media-player pause: Pauses the currently playing media.
-
termux-media-player stop: Stops the currently playing media.
-
termux-media-player seek [time]: Seeks to the specified time in the currently playing media.
-
termux-media-player playlist [file]: Loads a playlist file.
-
termux-download [URL]: Downloads a file from the specified URL.
-
termux-upload [source_file] [destination_directory]: Uploads a file to the specified directory.
-
termux-fix-shebang [file]: Fixes the shebang of a script file to make it executable.
-
termux-info: Displays system information.
-
termux-open-settings: Opens the Termux settings menu.
-
termux-wifi-enable [true/false]: Enables or disables Wi-Fi.
-
termux-battery-status: Shows the current battery status.
-
termux-telephony-cellinfo: Shows information about the current cellular network.
-
termux-telephony-deviceinfo: Shows device-specific information.
-
termux-telephony-imei: Shows the IMEI number of the device.
-
termux-telephony-signalstrength: Shows information about the signal strength of the cellular network.
-
termux-dialog: Displays a dialog box with customizable options.
-
termux-notification: Sends a notification to the notification bar.
-
termux-vibrate: Vibrates the device.
-
termux-toast: Displays a toast message on the screen.
-
termux-wifi-connectioninfo: Shows information about the current Wi-Fi connection.
-
termux-wifi-ipinfo: Displays information about the device's IP address.
-
termux-wifi-scaninfo: Scans for Wi-Fi networks and displays information about them.
-
termux-clipboard-get: Retrieves the current contents of the clipboard.
-
termux-clipboard-set [text]: Sets the clipboard contents to the specified text.
-
termux-dialog: Displays a dialog box with customizable options.
-
termux-notification: Sends a notification to the notification bar.
-
termux-vibrate: Vibrates the device.
-
termux-toast: Displays a toast message on the screen.
-
termux-battery-status: Shows the current battery status.
-
termux-camera-info: Shows information about the device's camera(s).
-
termux-camera-photo [output_file]: Takes a photo using the device's camera and saves it to the specified file.
-
termux-camera-record [output_file]: Records a video using the device's camera and saves it to the specified file.
-
termux-camera-snapshot [output_file]: Takes a snapshot using the device's camera and saves it to the specified file.
-
termux-camera-view: Opens a live preview from the device's camera.
-
termux-contact-get [contact_name]: Retrieves information about the specified contact.
-
termux-contact-list: Lists all contacts stored on the device.
-
termux-dialog: Displays a dialog box with customizable options.
-
termux-download [URL]: Downloads a file from the specified URL.
-
termux-fix-shebang [file]: Fixes the shebang of a script file to make it executable.
-
termux-info: Displays system information.
-
termux-location: Shows the current device location.
-
termux-media-player: Controls media playback.
-
termux-media-scan [path]: Scans the specified path for media files.
-
termux-microphone-record [output_file]: Records audio using the device's microphone and saves it to the specified file.
-
termux-notification: Sends a notification to the notification bar.
-
termux-open [file/path]: Opens a file or directory with the default app.
-
termux-open-url [URL]: Opens the specified URL in the default browser.
-
termux-share: Shares files or text using the Android
share menu.
-
termux-sms-list: Lists all SMS messages.
-
termux-sms-inbox: Lists received SMS messages.
-
termux-sms-send -n [number] [message]: Sends an SMS to the specified number with the given message.
-
termux-sms-view [message_id]: Displays the contents of the specified SMS message.
-
termux-storage-get [path]: Retrieves information about the specified storage path.
-
termux-storage-list: Lists all available storage volumes.
-
termux-telephony-cellinfo: Shows information about the current cellular network.
-
termux-telephony-deviceinfo: Shows device-specific information.
-
termux-telephony-imei: Shows the IMEI number of the device.
-
termux-telephony-signalstrength: Shows information about the signal strength of the cellular network.
-
termux-torch [true/false]: Turns the device's flashlight on or off.
-
termux-tts-engines: Lists available text-to-speech engines.
-
termux-tts-speak [text]: Converts text to speech and speaks it aloud.
-
termux-upload [source_file] [destination_directory]: Uploads a file to the specified directory.
-
termux-url-opener [URL]: Opens the specified URL in the default app.
-
termux-volume: Controls volume settings.
-
termux-wallpaper [file]: Sets the device's wallpaper to the specified image file.
-
termux-wifi-connect [SSID] [password]: Connects to the specified Wi-Fi network.
-
termux-wifi-enable [true/false]: Enables or disables Wi-Fi.
-
termux-wifi-ipinfo: Displays information about the device's IP address.
-
termux-wifi-scaninfo: Scans for Wi-Fi networks and displays information about them.
-
termux-wifi-scaninfo: Scans for Wi-Fi networks and displays information about them.
These commands cover a wide range of functionalities within Termux, allowing users to perform various tasks and operations directly from the command line interface.