Beginner Package: wget

wget

Download files from the web.

Syntax

wget [options] url

Description

wget is a non-interactive downloader built for reliability — it can resume interrupted downloads and recursively mirror whole sites — and remains a common alternative to curl specifically for saving files to disk.

Examples

wget https://example.com/file.tar.gz
Download a file, saving it locally
wget -c https://example.com/large-file.iso
Resume a partially completed download
wget -r -np https://example.com/docs/
Recursively mirror a directory of a website

Applies to

Ubuntu Debian Linux Mint RHEL CentOS / Rocky / AlmaLinux Fedora Arch Linux openSUSE Alpine Linux