Speedtest CLI is a simple internet speed testing tool that helps measure download speed, upload speed, and network ping directly from the terminal. It provides quick and accurate results without opening a web browser. You can install Speedtest CLI in Termux to test your internet connection and monitor network performance using simple commands.
Here’s what you can do with Speedtest CLI in Termux:
- Check internet download speed.
- Check internet upload speed.
- Measure network ping.
- View Speedtest server information.
- Export results in CSV or JSON format.
- Test internet performance from the terminal.
Install Speedtest CLI in Termux
Below are the simple commands to install Speedtest CLI in Termux. Copy and run each command one by one to install the tool.
Update Termux packages.
pkg update && pkg upgrade -yInstall Python.
pkg install python -yInstall Speedtest CLI.
pip install speedtest-cliCheck the installed version.
speedtest-cli --versionAfter completing the installation, Speedtest CLI will be ready to use inside the Termux terminal.
Use Speedtest CLI in Termux
Run a complete internet speed test.
speedtest-cliDisplay the help menu.
speedtest-cli --helpRun only the download test.
speedtest-cli --no-uploadRun only the upload test.
speedtest-cli --no-downloadDisplay results in a simple format.
speedtest-cli --simpleDisplay speed values in bytes.
speedtest-cli --bytesList available Speedtest servers.
speedtest-cli --listTest using a specific server.
speedtest-cli --server SERVER_IDDisplay results in JSON format.
speedtest-cli --jsonDisplay results in CSV format.
speedtest-cli --csvPrint CSV headers.
speedtest-cli --csv-headerGenerate a Speedtest share link.
speedtest-cli --shareUse HTTPS for Speedtest communication.
speedtest-cli --secureChoose the command you want and Speedtest CLI will automatically test your internet connection and display the results directly inside the Termux terminal.
End Note
Speedtest CLI is a useful networking tool for checking internet speed directly from the terminal. It allows you to measure download speed, upload speed, and ping without opening a browser, making it a simple tool for Termux.
