To install speedtest-cli, a popular open-source tool for checking internet speed from the command line, on FreeBSD, follow these steps:
net/speedtest-cli
package from the Ports Collection by running the following command:sudo pkg install net/speedtest-cli
This will install speedtest-cli and any dependencies required.
speedtest-cli --version
This will display the version of speedtest-cli that was installed.
speedtest-cli
This will run a speed test and display the results, including the download and upload speeds.
That's it! Speedtest-cli is now installed on your FreeBSD system and ready to use. You can use it to check the internet speed at any time from the command line.