# 使用 Homebrew 安装 goclone

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

## 安装

```sh
sudo av install brew:goclone
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install goclone
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:goclone
- **软件包管理器:** Homebrew
- **版本:** 1.2.2
- **来源摘要:** Website Cloner
- **主页:** <https://goclone.dev>
- **仓库:** <https://github.com/goclone-dev/goclone>
- **最后更新:** 2026-07-29T16:05:04+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- goclone (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2.2
## 项目历史与用法

goclone is a Go command-line website mirroring tool. It packages the old wget-style idea of copying a site locally into a small Go CLI with concurrent crawling, local link rewriting, and optional serving or opening of the generated copy.

### 项目历史

The public goclone repository was created in March 2020 and published a v1.0.0 GitHub release the same day. The README describes the project as a utility for downloading HTML, CSS, JavaScript, images, and related files from a website into a local directory while preserving relative link structure.

The project was organized under the goclone-dev GitHub organization and paired with an official goclone.dev site. Its installation story started with an upstream Homebrew tap and later fit the standard Go CLI pattern of `go install github.com/goclone-dev/goclone/cmd/goclone@...` plus Homebrew packaging.

### 采用历史

GitHub repository metadata showed more than two thousand stars and several hundred forks by June 2026, which is notable for a single-purpose website cloner. Homebrew packages it as formula `goclone`, giving macOS and Linux users a package-manager path in addition to upstream Go builds.

The adoption footprint is centered on developer and archiving workflows: people who want a fast terminal tool to copy a public site for inspection, offline browsing, demos, or migration experiments.

### 使用方式

Typical usage is `goclone <url>`. The README documents flags for preset cookies, a custom user agent, proxy settings, automatically opening the result, and serving the generated files locally.

Because it rewrites links and pulls static assets into a local directory, goclone is useful for quick site snapshots. It is not a browser automation tool or a full crawler for dynamic application state.

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

Package nerds care about goclone because it is a compact example of the Go CLI distribution loop: a GitHub-hosted binary tool, a project-specific Homebrew tap, `go install` support, and later a normal Homebrew formula. It also sits in the long lineage of website mirroring tools while using Go's goroutine-friendly concurrency model.

### 时间线

- 2020-03: GitHub repository created and v1.0.0 released.
- 2021-11: v1.2.0 released.
- 2023-06: v1.2.1 released.
- 2025-08: v1.2.2 released.

### Related projects

- wget and HTTrack are older website mirroring tools in the same general space.
- Colly is the Go scraping framework referenced by goclone's proxy flag documentation.
- The goclone-dev/homebrew-goclone repository was the upstream tap used before broader Homebrew formula packaging.

### 来源

- <https://api.github.com/repos/goclone-dev/goclone>
- <https://api.github.com/repos/goclone-dev/goclone/releases>
- <https://formulae.brew.sh/api/formula/goclone.json>
- <https://github.com/goclone-dev/goclone>
- <https://github.com/goclone-dev/goclone/releases>
- <https://goclone.dev/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
