Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 wgo

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wgo

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#wgo

nixpkgs package indexes · pkgs/by-name/wg/wgo/package.nix · 来源: api.github.com

概览

软件包摘要

Watch arbitrary files and respond with arbitrary commands

命令和别名

  • wgo

历史

项目历史与用法

wgo, expanded in the README as watcher-go, is a Go-focused live-reload and general file-watcher command. Its upstream description is direct: watch arbitrary files and respond with arbitrary commands, including multiple commands in parallel.

项目历史

The GitHub repository was created in January 2023 and presents wgo as a response to file watchers that force commands into strings, require configuration files, or produce noisy output. The README emphasizes that the implementation is intentionally short and that core documentation starts with the quickstart.

Release metadata shows continued development through the 0.5 series in 2024-2025 and 0.6.x releases in 2025-2026. That history is young compared with older Unix tools, but the project has settled into a recognizable niche among Go developers who want a small live-reload wrapper.

采用历史

wgo's adoption signal is mainly GitHub- and Go-community based rather than institutional. It is packaged for Homebrew and Nix, but its source-backed identity comes from the repository, release stream, and README positioning rather than from long distribution history.

使用方式

The most common use is to prefix a command with wgo so that it reruns when files change, for example rebuilding C code, running Go code, or restarting a Go server. The special wgo run mode behaves like go run but reruns when Go files change, and flags allow users to include or exclude files and directories, debounce events, poll, chain commands, and run watchers in parallel.

Because it is not limited to Go commands, wgo also fits frontend-adjacent workflows in Go projects, such as rebuilding Sass or TypeScript alongside a Go server by chaining parallel wgo commands.

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

wgo is significant in the small-tool sense: it keeps live reload out of a project-specific config file and makes it a command-line behavior. For package users, that means one executable can sit beside go, make, gcc, sass, or tsc and provide a simple watch loop without adopting a larger task runner.

时间线

  • 2023-01-12: The GitHub repository is created.
  • 2024: GitHub release metadata records the 0.5.6 series.
  • 2025: GitHub release metadata records multiple 0.5.x and 0.6.0 releases.
  • 2026-05-06: GitHub release metadata records v0.6.4.

Related projects

  • Go's built-in go run is the command wgo run shadows for live reload.
  • General file-watcher and task-runner tools such as entr, watchexec, reflex, air, and make-based watch loops occupy adjacent space.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wgocli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.6.4
管理器更新时间2026-05-06
本地数据OK
上游当前
检测到的最新版本v0.6.4

https://github.com/bokwoon95/wgo

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:wgo
版本0.6.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/wgo
主页https://github.com/bokwoon95/wgo
仓库https://github.com/bokwoon95/wgo
上游文档https://github.com/bokwoon95/wgo#readme
许可证MIT
源码归档https://github.com/bokwoon95/wgo/archive/refs/tags/v0.6.4.tar.gz
最后更新2026-05-06T18:56:37Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewgo
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

wgo

nix profile install nixpkgs#wgo
  • normalized package name match
  • 匹配方式:Wgo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wg/wgo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment