System Administration Commands
Adds a new repository to the list of available repositories.
termux-add-repo [repository]
Changes the root directory for the current session.
termux-chroot [directory]
Creates a new package with the specified name.
termux-create-package [package_name]
Manages fingerprints for SSH connections.
termux-fingerprint [options]
Fixes permissions for the specified directory or file.
termux-fix-permissions [directory/file]
Fixes the shebang of a script file to make it executable.
termux-fix-shebang [file]
Displays system information.
termux-info
Locks Termux settings with a password.
termux-lock-settings
Sends a notification to the notification bar.
termux-notify
Opens a file or directory with the default app.
termux-open [file/path]
Opens the specified URL in the default browser.
termux-open-url [URL]
Displays information about the specified package.
termux-package-info [package_name]
Lists installed packages.
termux-package-list [options]
Reloads Termux settings from disk.
termux-reload-settings
Reloads the Termux console style settings.
termux-reload-style
Reloads the Termux console font settings.
termux-reload-fonts
Reloads the Termux console properties settings.
termux-reload-properties
Resets Termux settings to default values.
termux-reset-settings
Resets Termux to a clean state.
termux-reset
Sets up storage for Termux.
termux-setup-storage
Shares files or text using the Android share menu.
termux-share
Runs a command with superuser privileges.
termux-sudo
Configures telephony settings.
termux-telephony-configure
Prints the path to the temporary directory.
termux-tmpdir
Sets the device's wallpaper to the specified image file.
termux-wallpaper [file]
Keeps the device awake until explicitly released.
termux-wake-lock
Releases the wake lock on the device.
termux-wake-unlock
Connects to the specified Wi-Fi network.
termux-wifi-connect [SSID] [password]
Enables or disables Wi-Fi.
termux-wifi-enable [true/false]
Displays information about the device's IP address.
termux-wifi-ipinfo
Scans for Wi-Fi networks and displays information about them.
termux-wifi-scaninfo
Tethers the device's Wi-Fi connection.
termux-wifi-tether
Toggles the Wi-Fi connection.
termux-wifi-toggle
Shows information about the current Wi-Fi connection.
termux-wifi-connectioninfo