Download-osm tool
The download-osm tool is an option for downloading data. This Multi-streamed OSM Data Downloader tool by OpenMapTiles is available on github:
https://github.com/openmaptiles/openmaptiles-tools#multi-streamed-osm-data-downloader
The tool can quickly download the entire planet from multiple mirrors at once, without overloading the primary server. It will ensure the download data is consistent with an MD5 hash. It can also be used to download and validate regional extracts from Geofabrik, BBBike, and OSM.fr.
Docker example
The easiest way is to run the tool using Docker. For example, share the current directory and let the tool place your file there. Anything after the -- is passed to aria2c. Here's an example Linux/macOS command. The one for Windows should be similar.
docker run --rm -it -v $PWD:/download openmaptiles/openmaptiles-tools \
download-osm planet -- -d /download
Use download-osm --help for documentation.