pkg.sopackage field notes

brew / 排名 195

使用 Homebrew 安装 wget

查看 wget 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

wget fetches remote content and can mirror sites or download installer scripts.

凭据访问

Reads netrc credentials, cookies, headers, and output file paths.

远程变更

Usually fetch-only, but can call authenticated endpoints and write local files.

发布/制品风险

Can download scripts or artifacts that later execute or deploy.

推荐控制

Gate authenticated downloads, recursive mirrors, and shell installer use.

代理使用指南

Allow public single-file downloads; require approval for credentials, recursion, and executable outputs.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wget

provider-native install command

概览

软件包摘要

Internet file retriever

命令和别名

  • wget

历史

项目历史与用法

GNU Wget is the GNU Project's non-interactive command-line retriever for HTTP, HTTPS, FTP, and FTPS. It is one of the canonical Unix-style tools for scripted downloads, recursive mirroring, resumable transfers, and unattended network retrieval.

项目历史

Wget descends from Geturl, a program by Hrvoje Niksic whose development began in late 1995. The name changed to Wget after the author learned of an earlier Amiga program called GetURL. Public Geturl releases appeared in 1996, and Wget 1.4.0 in November 1996 was the first release under the Wget name and the GNU GPL.

The tool solved a real mid-1990s problem: Unix users needed a reliable downloader that could handle both HTTP and FTP, run without a browser, survive slow or unstable dial-up and university connections, and build with ordinary Unix development tools. That combination made it spread quickly among Unix users and later most Linux distributions.

Wget's stewardship moved from the original author to broader GNU maintenance. The GNU project page lists Tim Ruehsen, Darshit Shah, and Giuseppe Scrivano as current maintainers and Hrvoje Niksic as original author. The source is hosted on GNU Savannah, and the manual's copyright range begins in 1996, reflecting the long-running GNU package history.

采用历史

Wget became a default tool in the mental toolbox of system administrators, release engineers, distribution maintainers, researchers, and shell users because it is non-interactive and scriptable. Its adoption was reinforced by features that map directly to automation: retrying failed downloads, continuing partial transfers when servers support it, following links for recursive retrieval, converting links for local browsing, using timestamps for mirroring, supporting proxies, and reading URLs from files or standard input.

The package also became important outside ordinary downloads. Since Wget 1.14 it has supported WARC output, making it useful in web archiving workflows. GNU Wget2 is now developed separately for newer web protocols and parallelism, but classic Wget remains widely used because of its stable behavior and enormous installed base.

使用方式

Basic use is `wget URL`, but its package-nerd importance comes from flags and composability: `-r` for recursive retrieval, `-c` for continuing partial downloads, `-O -` for piping content to standard output, `-i` for reading URL lists, and `.wgetrc` for persistent defaults. It is equally at home in cron jobs, build scripts, Dockerfiles, release automation, and one-off shell sessions.

Wget's behavior is deliberately non-interactive, so it can keep working after a user logs out or when no graphical environment exists. That makes it a historical counterpart to browsers and graphical download managers: less interactive, but much better suited to repeatable automation.

为什么软件包爱好者会关心

Wget is one of the archetypal packages that demonstrates why small Unix command-line tools matter. It turned web and FTP retrieval into a dependable script primitive, which is why so many other package builds, test fixtures, mirrors, and operational runbooks have depended on it for decades.

时间线

  • Late 1995: Hrvoje Niksic begins Geturl.
  • January 1996: Geturl 1.0 is the first public release.
  • November 1996: Wget 1.4.0 becomes the first release under the Wget name and GNU GPL.
  • 2012: Wget 1.14 adds WARC output support, extending its role in web archiving.
  • 2020s: GNU Wget continues as the stable classic implementation while GNU Wget2 is developed as a successor for newer web features.

Related projects

  • GNU Wget2 is the related successor project for newer web technologies, but Wget remains the classic implementation. curl overlaps with Wget for command-line retrieval, while Wget's traditional strengths are recursive downloading, mirroring, unattended operation, and `.wgetrc`-driven configuration.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.wgetrc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.netrc~/.wgetrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wget可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.25.0
管理器更新时间2026-06-26
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:wget
版本1.25.0
软件包管理器Homebrew
主页https://www.gnu.org/software/wget/
最后更新2026-06-26T01:12:58Z
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation