# Install corkscrew with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, winget

Tunnel SSH through HTTP proxies. Version 2.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install corkscrew.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install corkscrew
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install corkscrew
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: Fedora Rawhide package metadata: corkscrew from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#corkscrew
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:corkscrew
- **Package manager:** Homebrew
- **Version:** 2.0
- **Source summary:** Tunnel SSH through HTTP proxies
- **Homepage:** <https://packages.debian.org/sid/corkscrew>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- corkscrew (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## Sources

- 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
