pkg.soopen package index

brew / rank 7071

Install pgrok with Homebrew, Nix

Poor man's ngrok, multi-tenant HTTP/TCP reverse tunnel solution. Version 1.7.0 via Homebrew; verified 2026-09-13. Also installable with nix: nix profile install nixpkgs#pgrok.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install pgrok

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#pgrok

nixpkgs package indexes · pkgs/by-name/pg/pgrok/package.nix · source: api.github.com

overview

Package summary

Poor man's ngrok, multi-tenant HTTP/TCP reverse tunnel solution

Commands and aliases

  • pgrok

history

Project history and usage

pgrok is a self-hosted HTTP and TCP reverse-tunneling system that exposes local services through a remotely deployed server using SSH port forwarding.

Project history

The pgrok project was created as a self-hosted, multi-tenant reverse-tunnel solution described by its maintainers as a "poor man's ngrok." Its design uses SSH remote port forwarding and includes both the public server and local client components.

Adoption history

pgrok is distributed through Homebrew and Nix according to source_facts.package-manager. Its packaging supports straightforward installation of a self-hosted tunneling alternative on Unix-like systems.

How it is used

An operator deploys `pgrokd` on a publicly reachable host and configures DNS and authentication. A client initializes `pgrok.yml` with a remote address, local forwarding address, and token, then runs `pgrok` or `pgrok http` to establish the tunnel.

The token is stored as part of the general YAML configuration unless another path is selected; the official documentation does not identify a separate credentials file.

Why package nerds care

pgrok packages the familiar ngrok-style developer tunnel as an open, self-hostable client-and-server system built on SSH remote port forwarding. It appeals to users who want control of the public endpoint and authentication infrastructure rather than dependence on a hosted tunneling vendor.

Its combination of HTTP and raw TCP forwarding, multi-tenant operation, conventional YAML configuration, and package-manager availability makes it useful for development callbacks, demonstrations, and temporary exposure of services behind NAT.

Timeline

  • Public project era: Developed on GitHub as a self-hosted ngrok alternative.
  • Package adoption: Distributed through Homebrew and Nix.

Related projects

  • pgrok is explicitly positioned as an alternative to ngrok. It builds its tunneling model on SSH remote port forwarding rather than inventing an unrelated transport.

Sources

  • Official README: https://github.com/pgrok/pgrok#readme
  • source_facts.package-manager

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:http

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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.

Linux
~/.config/pgrok/pgrok.yml
macOS
~/Library/Application Support/pgrok/pgrok.yml
Windows
%LOCALAPPDATA%\pgrok\pgrok.yml

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
~/.config/pgrok/pgrok.yml~/.pgrok/pgrok.yml
macOS
~/Library/Application Support/pgrok/pgrok.yml~/.pgrok/pgrok.yml
Windows
%LOCALAPPDATA%\pgrok\pgrok.yml

executables

Installed executables

CommandKindExposureNote
pgrokcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-09-19
manager version1.7.0
manager updated2026-09-13
local dataok
upstreamcurrent
latest detectedv1.7.0

https://github.com/pgrok/pgrok

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:pgrok
Version1.7.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pgrok
Homepagehttps://github.com/pgrok/pgrok
Repositoryhttps://github.com/pgrok/pgrok
LicenseMIT
Source archivehttps://github.com/pgrok/pgrok/archive/refs/tags/v1.7.0.tar.gz
Last updated2026-09-13T11:26:08Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

pgrok

nix profile install nixpkgs#pgrok
  • normalized package name match
  • Matched by: Pgrok
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pg/pgrok/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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