github.com/mamantoha/speedtest-ng
0.8.9 / published Jun 23, 2026 / repository
A command-line tool for testing internet speed using Speedtest.net, written in Crystal.
Installation
Precompiled executables are available for Linux, macOS and Windows from Releases page.
Build from source
Clone the repository:
git clone https://github.com/mamantoha/speedtest-ng
cd speedtest-ng
Build the project:
shards build --release
Usage
speedtest-ng --help
Usage: speedtest-ng [options]
--no-download Do not perform download test
--no-upload Do not perform upload test
--single Only use a single connection (simulates file transfer)
--list Display a list of speedtest.net servers sorted by distance
--server SERVER Specify a server ID to test against
--secure Use HTTPS instead of HTTP when communicating with speedtest.net operated servers
--download-time SECONDS Set download test time limit in seconds (default: 20)
--upload-time SECONDS Set upload test time limit in seconds (default: 20)
-v, --version Show the version number and exit
-h, --help Show this help message and exit

Contributing
- Fork it (https://github.com/mamantoha/speedtest-ng/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Anton Maminov - creator and maintainer