Using wget can be a powerful and efficient alternative for downloading our historical market data, especially when automating bulk downloads or integrating them into scripts. Since we provide direct download links in plain text format, wget seamlessly reads the list of URLs and retrieves files with minimal setup.
Its ability to resume interrupted downloads, preserve original filenames via the --content-disposition option, and operate silently in the background makes it ideal for users with limited bandwidth or long download queues. Unlike browser-based downloads that may time out or require manual intervention, wget runs reliably over extended periods, making it a trusted tool for developers and researchers who prefer command-line control and automation over graphical interfaces.
Here are the instructions for the simplest installation of wget on Windows and adding it to your system's PATH for easy access from the command line.
A reliable source for pre-compiled Windows binaries of wget is Eternally Bored. For simplicity, you can download the 64-bit executable directly.
wget.exe
To keep your system organized, it's best to place the wget.exe file in a dedicated folder.
C:\wget
Adding the folder to the Windows PATH allows you to run wget from any location in the Command Prompt or PowerShell without typing the full path to the executable.
Edit the system environment variables
To permanently add wget to your PATH using PowerShell, run PowerShell as Administrator and execute this single command:
[Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";C:\wget", [EnvironmentVariableTarget]::Machine)
Important notes:
To confirm that wget is installed and recognized by your system, open a new Command Prompt or PowerShell window and type:
wget --version
Installing wget on Linux is generally more straightforward than on Windows, as it is a standard utility that is often pre-installed on most distributions. If it isn't, you can easily install it using your distribution's built-in package manager. This process automatically handles the installation and system path configuration for you.
Before attempting to install it, you can check if wget is already available on your system. Open a terminal and run the following command:
If wget is installed, this command will display the version number. If not, the system will inform you that the command was not found, and you can proceed with the installation instructions for your specific Linux distribution.
You will need administrative privileges to install new packages, so most commands are prefixed with sudo.
sudo
For distributions that use the APT package manager (like Debian, Ubuntu, and Linux Mint), use the following commands.
sudo apt update
sudo apt install wget
Alternatively, on older systems, you might use apt-get.
apt-get
For distributions based on Red Hat that use the YUM package manager (like RHEL, CentOS, and older versions of Fedora), run this command:
sudo yum install wget
Newer versions of Fedora use the DNF package manager. Use the following command to install wget:
sudo dnf install wget
After the installation is complete, run the verification command again to confirm that wget is ready to use:
Unlike the manual steps required for Windows, the Linux package manager automatically places the wget executable in a directory that is already part of the system's PATH. No further configuration is needed, and you can use the wget command from any location in your terminal.
On macOS, wget is not installed by default, but you can install it using a package manager like Homebrew. This is the most common and recommended method.
Homebrew is a package manager for macOS that simplifies the process of installing software. If you don't already have it, you can install it with a single command.
Applications/Utilities
Cmd + Space
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
The installer will guide you through the process and may ask for your password to complete the installation.
Once Homebrew is set up, you can install wget with a simple command.
brew update
brew install wget
Homebrew will automatically handle the download, installation, and any necessary dependencies. It will also add wget to your system's PATH, so you can run it from any directory.
To make sure wget was installed correctly, you can check its version.
If the installation was successful, this command will display the version of wget that was installed.
© 2026 Oricsoft. All rights reserved. | Privacy Statement