# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 urlwatch

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

## 安装

```sh
sudo av install brew:urlwatch
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install urlwatch
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add urlwatch
```

  证据: Alpine Linux edge package indexes: urlwatch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install urlwatch
```

  证据: Debian stable package indexes: urlwatch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install urlwatch
```

  证据: Fedora Rawhide package metadata: urlwatch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#urlwatch
```

  证据: nixpkgs package indexes: pkgs/by-name/ur/urlwatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S urlwatch
```

  证据: Arch Linux sync databases: urlwatch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install urlwatch
```

  证据: openSUSE Tumbleweed package metadata: urlwatch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:urlwatch
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/urlwatch>
- **版本:** 2.29
- **来源摘要:** Get notified when a webpage changes
- **主页:** <https://thp.io/2008/urlwatch/>
- **上游文档:** <https://thp.io/2008/urlwatch/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/76/a3/e3bc54a669fa3ec440ea9d8db64590e761343b02b6ae9fcfcdc05c28d9ea/urlwatch-2.29.tar.gz>
- **最后更新:** 2026-05-15T11:13:37Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- urlwatch (cli)
- urlwatch (别名)

## 依赖

- certifi
- libyaml
- python@3.14

## macOS 提供的库

- libxml2
- libxslt

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.29
- 管理器更新时间: 2026-05-15
- 本地数据: OK
- 上游仓库: https://thp.io/2008/urlwatch/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

urlwatch is a command-line webpage and command-output monitor that records previous results and reports changes as diffs. The project site and handbook describe notifications through email, terminal output, and many third-party services, with jobs configured in YAML and filters used to normalize the content being watched.

### 项目历史

The project is presented on Thomas Perl's site under a 2008 URL path, and the current site lists version 2.29 as a 2024 source distribution. Its public GitHub repository was created in 2014, while the current handbook documents the modern 2.x architecture: YAML job files, a separate urlwatch.yaml configuration file, reporters, filters, shell jobs, browser jobs, and an SQLite cache database for stored history.

The migration documentation explains the importance of the 2.0 line: URLs moved into YAML, the cache directory became an SQLite database, hooks were replaced by extensible jobs, filters, and reporters, and a configuration file was added for user preferences. Those changes turned a simple URL checker into a broader change-monitoring framework while keeping the command-line workflow.

### 采用历史

The official project page links to PyPI, GitHub, and Repology packaging status; the input package-manager matrix lists Alpine, Homebrew, Debian, Fedora/dnf, Nix, Arch/pacman, Ubuntu, and openSUSE/zypper. That combination shows urlwatch as a widely packaged Unix-style automation utility rather than a one-platform script.

### 使用方式

A common setup is to install urlwatch, run it once, edit urls.yaml with urlwatch --edit, edit settings and reporters with urlwatch --edit-config, and schedule periodic runs with cron. Each run retrieves a job, applies filters, compares the result against the previous version, and invokes reporters if differences are found.

The handbook's job model covers ordinary URL fetches, headless-browser navigation for JavaScript-rendered pages, and shell commands. Its filter system supports selectors, HTML-to-text conversion, PDF and JSON handling, grep-like filtering, sorting, checksums, and chained transformations, making it useful for monitoring release pages, package indexes, documents, APIs, or local command output.

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

urlwatch is especially relevant to package-manager culture because package maintainers and power users often need to notice upstream tarballs, changelogs, documentation, security advisories, or formula metadata changing before those changes appear in a feed. It is also itself a well-packaged Python CLI with an official website, PyPI releases, Read the Docs documentation, and broad distro availability.

### 时间线

- 2008: Project website is published under thp.io/2008/urlwatch.
- 2014-01-29: Public GitHub repository metadata records repository creation.
- 2.0: Migration docs describe the move to YAML jobs, SQLite cache history, extensible jobs, filters, reporters, and urlwatch.yaml.
- 2024-10-28: Project site lists urlwatch 2.29 source distribution.

### Related projects

- urlwatch belongs to the same practical family as cron, diff, web-checking scripts, feed monitors, and package-update watchers, but wraps those patterns in a reusable CLI with filters, reporters, and persistent change history.

### 来源

- GitHub repository metadata: https://api.github.com/repos/thp/urlwatch
- Input source_facts.package-manager lists cross-distribution packaging.
- Official README: https://raw.githubusercontent.com/thp/urlwatch/master/README.md
- Official handbook: https://urlwatch.readthedocs.io/en/latest/
- Official introduction: https://urlwatch.readthedocs.io/en/latest/introduction.html
- Official migration guide: https://urlwatch.readthedocs.io/en/latest/migration.html
- Official project site: https://thp.io/2008/urlwatch/


## 安全说明

没有找到 urlwatch 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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

- Unix: $XDG_CONFIG_HOME/urlwatch/urls.yaml, $XDG_CONFIG_HOME/urlwatch/urlwatch.yaml, $XDG_CONFIG_HOME/urlwatch/hooks.py
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** urlwatch
- **Version Scheme:** 0
- **Revision:** 9
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - urlwatch - 2.29-1: normalized package name match | Debian stable package indexes: urlwatch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | monitors webpages for you | https://thp.io/2008/urlwatch/
- Nix - urlwatch: normalized package name match | nixpkgs package indexes: pkgs/by-name/ur/urlwatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - urlwatch - 2.28-3: normalized package name match | Ubuntu 24.04 LTS package indexes: urlwatch from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | monitors webpages for you | https://thp.io/2008/urlwatch/
- apk - urlwatch - 2.29-r1: normalized package name match | Alpine Linux edge package indexes: urlwatch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Tool for monitoring webpages for updates | https://thp.io/2008/urlwatch/
- apk - urlwatch-doc - 2.29-r1: normalized package name match | Alpine Linux edge package indexes: urlwatch-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Tool for monitoring webpages for updates (documentation) | https://thp.io/2008/urlwatch/
- apk - urlwatch-pyc - 2.29-r1: normalized package name match | Alpine Linux edge package indexes: urlwatch-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for urlwatch | https://thp.io/2008/urlwatch/
- dnf - urlwatch - 2.29-6.fc45: normalized package name match | Fedora Rawhide package metadata: urlwatch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A tool for monitoring webpages for updates | http://thpinfo.com/2008/urlwatch/
- pacman - urlwatch - 2.29-4: normalized package name match | Arch Linux sync databases: urlwatch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool for monitoring webpages for updates | https://thp.io/2008/urlwatch/
- zypper - urlwatch - 2.29-2.3: normalized package name match | openSUSE Tumbleweed package metadata: urlwatch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A tool for monitoring webpages for updates | https://thp.io/2008/urlwatch/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [gh](https://pkg.so/zh-hans/brew/gh/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [just](https://pkg.so/zh-hans/brew/just/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [watchman](https://pkg.so/zh-hans/brew/watchman/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [go-task](https://pkg.so/zh-hans/brew/go-task/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [powershell](https://pkg.so/zh-hans/brew/powershell/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [sshpass](https://pkg.so/zh-hans/brew/sshpass/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [parallel](https://pkg.so/zh-hans/brew/parallel/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [ansible-lint](https://pkg.so/zh-hans/brew/ansible-lint/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [jenkins-job-builder](https://pkg.so/zh-hans/brew/jenkins-job-builder/) - Both packages touch the same language runtime or ecosystem. Shared terms: automation, certifi, cli, developer, developer-tools.
- [molecule](https://pkg.so/zh-hans/brew/molecule/) - Both packages touch the same language runtime or ecosystem. Shared terms: automation, certifi, cli, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/urlwatch.yml](https://github.com/mxcl/pkgdb/blob/main/combined/urlwatch.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
