wget
CLINetwork downloader supporting HTTP, HTTPS, and FTP.
Download files from the web, supports recursive mirroring
Recipes
Curated from documentation and usage. Percentages are estimates, not measurements.
Download a file
wget https://example.com/file.tar.gzDownload and rename output
wget -O myfile.zip https://example.com/archive.zipMirror a website
wget -r -l 2 --no-parent https://example.com/docs/Common failures (1)
- Too many files downloadedAdd --accept '*.html' to limit file types
Install
Homebrew
brew install wgetapt
sudo apt install wgetAgent notes
- When to use
- Downloading files or mirroring websites
- Quick examples
wget https://example.com/file.tar.gzwget -r https://example.com
Use from an agent
curl -s https://clihub.com/api/tools/wget | jq '.agentHints.provenRecipes[] | {task, command, verified}'Or call get_tool with slug wget on the MCP server at https://clihub.com/mcp.