# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, winget 安装 corkscrew

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

## 安装

```sh
sudo av install brew:corkscrew
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install corkscrew
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install corkscrew
```

  证据: MacPorts ports tree: net/corkscrew/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add corkscrew
```

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

- Debian apt (92%):

```sh
sudo apt install corkscrew
```

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

- dnf (92%):

```sh
sudo dnf install corkscrew
```

  证据: Fedora Rawhide package metadata: corkscrew 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#corkscrew
```

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

- pacman (92%):

```sh
sudo pacman -S corkscrew
```

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

### Windows

- winget (92%):

```sh
winget install --id androidWG.Corkscrew -e
```

  证据: Windows Package Manager source index: androidWG.Corkscrew from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:corkscrew
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/corkscrew>
- **版本:** 2.0
- **来源摘要:** Tunnel SSH through HTTP proxies
- **主页:** <https://packages.debian.org/sid/corkscrew>
- **上游文档:** <https://packages.debian.org/sid/corkscrew>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://deb.debian.org/debian/pool/main/c/corkscrew/corkscrew_2.0.orig.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- corkscrew (cli)
- corkscrew (别名)

## 构建依赖

- libtool

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.0
- 本地数据: OK
- 上游仓库: https://packages.debian.org/sid/corkscrew
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Corkscrew is a small networking utility for tunneling SSH through HTTP proxies. Its upstream README frames OpenSSH ProxyCommand usage as the normal path, making it a classic single-purpose helper for locked-down networks.

### 项目历史

The public GitHub repository was created in 2009 and the upstream README identifies GitHub as the primary distribution site. The README also records older portability work by listing HPUX, Solaris, BSD systems, Linux, Cygwin/Win32, and macOS as compiled targets.

### 采用历史

Corkscrew spread through Unix package managers because it solved a narrow operational problem: connecting SSH through an HTTP proxy with minimal moving parts. Its presence in multiple package-manager ecosystems reflects the long tail of proxy-heavy corporate and campus networks.

### 使用方式

Typical usage adds a ProxyCommand line to ~/.ssh/config. For proxies requiring authentication, the README documents a separate username:password file, commonly placed under ~/.ssh with restrictive permissions.

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

Corkscrew is a package-manager survivor: tiny, stable, and useful when a network environment requires exactly its protocol trick. It matters less for feature churn than for preserving a known CLI building block.

### 时间线

- 2009: Public GitHub repository created.
- v2.0: Upstream repository exposes a v2.0 tag.
- Present: README continues to document OpenSSH ProxyCommand integration and proxy-auth file usage.

### Related projects

- Related tools and features include OpenSSH ProxyCommand, netcat-style proxy helpers, HTTP CONNECT proxies, and SSH ProxyJump for other tunneling scenarios.

### 来源

- <https://github.com/patpadgett/corkscrew>
- <https://raw.githubusercontent.com/patpadgett/corkscrew/master/README.md>
- <https://api.github.com/repos/patpadgett/corkscrew>
- <https://api.github.com/repos/patpadgett/corkscrew/tags>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

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

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

- Debian apt - corkscrew - 2.0-15: normalized package name match | Debian stable package indexes: corkscrew from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tunnel TCP connections through HTTP proxies | https://github.com/patpadgett/corkscrew
- Nix - corkscrew: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/corkscrew/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - corkscrew - 2.0-14: normalized package name match | Ubuntu 24.04 LTS package indexes: corkscrew from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tunnel TCP connections through HTTP proxies | https://github.com/patpadgett/corkscrew
- apk - corkscrew - 2.0_git20190118-r1: normalized package name match | Alpine Linux edge package indexes: corkscrew from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for tunneling SSH through HTTP proxies | https://github.com/bryanpkc/corkscrew
- apk - corkscrew-doc - 2.0_git20190118-r1: normalized package name match | Alpine Linux edge package indexes: corkscrew-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for tunneling SSH through HTTP proxies (documentation) | https://github.com/bryanpkc/corkscrew
- dnf - corkscrew - 2.0-43.fc45: normalized package name match | Fedora Rawhide package metadata: corkscrew from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Tool for tunneling SSH through HTTP proxies | http://freshmeat.sourceforge.net/projects/corkscrew
- pacman - corkscrew - 2.0-8: normalized package name match | Arch Linux sync databases: corkscrew from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool for tunneling SSH through HTTP proxies | https://github.com/patpadgett/corkscrew
- MacPorts - corkscrew: normalized package name match | MacPorts ports tree: net/corkscrew/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - androidWG.Corkscrew: normalized package name match | Windows Package Manager source index: androidWG.Corkscrew from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched web development metadata.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [gotun](https://pkg.so/zh-hans/brew/gotun/) - Shares pkgdb curated category or tags: cli, http-proxy, networking, proxy, ssh.
- [connect](https://pkg.so/zh-hans/brew/connect/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh, tunneling.
- [proxychains-ng](https://pkg.so/zh-hans/brew/proxychains-ng/) - Shares pkgdb curated category or tags: cli, http-proxy, networking, proxy.
- [dropbear](https://pkg.so/zh-hans/brew/dropbear/) - Shares pkgdb curated category or tags: cli, networking, ssh.
- [pwnat](https://pkg.so/zh-hans/brew/pwnat/) - Shares pkgdb curated category or tags: cli, networking, proxy, tunneling.
- [sing-box](https://pkg.so/zh-hans/brew/sing-box/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [mihomo](https://pkg.so/zh-hans/brew/mihomo/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [libproxy](https://pkg.so/zh-hans/brew/libproxy/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [proxytunnel](https://pkg.so/zh-hans/brew/proxytunnel/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, networking, proxies, proxy, ssh.

## Combined YAML source

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


## 来源

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