# Install geckodriver with Homebrew, apk, MacPorts, Nix, pacman, scoop, winget

WebDriver Marionette proxy. Version 0.37.1 via Homebrew; verified 2026-07-20. Also installable with nix: nix profile install nixpkgs#geckodriver.

## Install

```sh
sudo av install brew:geckodriver
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install geckodriver
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install geckodriver
```

  Evidence: MacPorts ports tree: www/geckodriver/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add geckodriver
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#geckodriver
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ge/geckodriver/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S geckodriver
```

  Evidence: Arch Linux sync databases: geckodriver from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/geckodriver
```

  Evidence: Scoop official bucket manifest trees: bucket/geckodriver.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Mozilla.GeckoDriver -e
```

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

## Package facts

- **Package key:** brew:geckodriver
- **Package manager:** Homebrew
- **Version:** 0.37.1
- **Source summary:** WebDriver Marionette proxy
- **Homepage:** <https://firefox-source-docs.mozilla.org/testing/geckodriver/>
- **Repository:** <https://github.com/mozilla/geckodriver>
- **Last updated:** 2026-07-20T12:43:50Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- geckodriver (alias)
- wires (alias)

## Install behavior

- Bottle: not available

## Freshness

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

geckodriver is Mozilla's WebDriver proxy for controlling Gecko-based browsers such as Firefox from W3C WebDriver-compatible clients.

### Project history

Mozilla's documentation describes geckodriver as a proxy between WebDriver clients and Gecko browsers. It exposes the WebDriver HTTP API and translates commands to Firefox's remote protocol, making it the browser-specific bridge for automation clients.

### Adoption history

The Firefox Source Docs note that Selenium 3 made geckodriver the default WebDriver implementation for Firefox. The same usage documentation explains that FirefoxDriver was discontinued with Firefox 47 because it did not support Gecko's multi-process architecture.

### How it is used

Package users install the geckodriver binary and make it available on PATH, or point Selenium clients at it explicitly. The official usage docs also call out container and Snap packaging details, because geckodriver and Firefox need to run in compatible filesystem and runtime environments.

### Why package nerds care

geckodriver matters to package-manager users because it is the small native executable that makes Firefox automation work across Selenium, WebDriver test suites, CI jobs, and browser-compatibility tooling.

### Timeline

- Firefox 47: FirefoxDriver was discontinued for lack of multi-process Gecko support.
- Selenium 3: geckodriver became the default WebDriver implementation for Firefox.

### Related projects

- Firefox, Gecko, Marionette, Selenium, and the W3C WebDriver protocol are the main adjacent projects named or linked from Mozilla's geckodriver documentation.

### Sources

- <https://firefox-source-docs.mozilla.org/testing/geckodriver/>
- <https://firefox-source-docs.mozilla.org/testing/geckodriver/Usage.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Nix - geckodriver: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/geckodriver/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - geckodriver - 0.37.1-r0: normalized package name match | Alpine Linux edge package indexes: geckodriver from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Proxy for using W3C WebDriver compatible clients to interact with Gecko-based browsers. | https://github.com/mozilla/geckodriver
- pacman - geckodriver - 0.37.1-1: normalized package name match | Arch Linux sync databases: geckodriver from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers. | https://github.com/mozilla/geckodriver
- MacPorts - geckodriver: normalized package name match | MacPorts ports tree: www/geckodriver/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/geckodriver: normalized package name match | Scoop official bucket manifest trees: bucket/geckodriver.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Mozilla.GeckoDriver: normalized package name match | Windows Package Manager source index: Mozilla.GeckoDriver from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/geckodriver.yml](https://github.com/mxcl/pkgdb/blob/main/combined/geckodriver.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
