# 使用 Homebrew, Nix, scoop 安装 zrok

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

## 安装

```sh
sudo av install brew:zrok
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zrok
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#zrok
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/zrok
```

  证据: Scoop official bucket manifest trees: bucket/zrok.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:zrok
- **软件包管理器:** Homebrew
- **版本:** 2.0.4
- **来源摘要:** Geo-scale, next-generation sharing platform built on top of OpenZiti
- **主页:** <https://zrok.io>
- **仓库:** <https://github.com/openziti/zrok>
- **最后更新:** 2026-07-25T21:51:00+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zrok (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

zrok is a sharing and tunneling platform built on OpenZiti. It gives developers and operators a CLI-first way to expose local web apps, TCP/UDP services, files, and private resources without opening inbound firewall ports.

### 项目历史

The project grew out of the OpenZiti ecosystem, whose core idea is programmable zero-trust networking. The public GitHub repository was created on 2022-07-18, and the README describes zrok as an OpenZiti-native sharing platform with both hosted and self-hosted deployment paths.

zrok evolved around the `zrok` CLI and a service model: users enable an account or environment, create shares, reserve named shares, and access those shares through public frontends or private OpenZiti access. That makes it closer to a packaging-friendly tunneling product than a single-purpose port forwarder.

### 采用历史

Adoption has followed the broader developer-tool pattern for secure tunnels: local development demos, webhook testing, temporary file sharing, remote access to internal services, and self-hosted teams that want a tunnel without delegating trust to a closed SaaS network.

Its package-manager footprint matters because the CLI is the normal entry point. Homebrew, Nix, and Scoop packaging make zrok convenient for developers who need the same command on macOS, Linux, and Windows while the network service runs elsewhere.

### 使用方式

Typical usage starts with `zrok enable`, then `zrok share` for an ephemeral share or `zrok reserve` plus `zrok share reserved` for a stable endpoint. The docs cover public shares for browser-accessible endpoints and private shares for OpenZiti-backed access between enrolled peers.

Package users commonly install it as a local CLI, authenticate it to a zrok service, and use it to expose development servers, APIs, files, or private service targets without editing router/firewall rules.

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

zrok is package-nerd interesting because it packages a modern networking service as a developer CLI: the local binary is tiny compared with the trust, identity, and overlay-network machinery behind it.

It also shows how tunnel tools have moved from ad hoc SSH reverse tunnels toward managed or self-hosted zero-trust overlays. For package databases, zrok belongs next to ngrok-style sharing tools, OpenZiti components, and other CLI-first remote-access utilities.

### 时间线

- 2022-07-18: The openziti/zrok GitHub repository is created.
- 2023: zrok documentation presents both hosted sharing and self-hosted operation on top of OpenZiti.
- 2026: The repository remains active, with current development still centered on the zrok CLI and OpenZiti-backed sharing model.

### Related projects

- Related projects include OpenZiti, ngrok, Cloudflare Tunnel, Tailscale Funnel, SSH reverse tunnels, frp, and localtunnel.

### 来源

- <https://api.github.com/repos/openziti/zrok>
- <https://docs.zrok.io/>
- <https://docs.zrok.io/docs/concepts/sharing/>
- <https://docs.zrok.io/docs/getting-started/>
- <https://github.com/openziti/zrok>
- <https://raw.githubusercontent.com/openziti/zrok/main/README.md>


## 安全说明

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


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

- Nix - zrok: normalized package name match | nixpkgs package indexes: pkgs/by-name/zr/zrok/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - extras/zrok: normalized package name match | Scoop official bucket manifest trees: bucket/zrok.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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