Installation
Gobuster runs on all major operating systems. This guide covers installation on Linux, macOS, Windows, Docker, and building from source.
Linux (Debian/Ubuntu/Kali)
Using apt (Recommended)
The standard package manager on Debian-based systems. Kali Linux includes Gobuster by default.
1sudo apt update && sudo apt install gobuster
Verify Installation
Check that Gobuster is installed correctly and view its version.
1gobuster --version
macOS
Using Homebrew (Recommended)
Homebrew is the most popular package manager for macOS.
1brew install gobuster
Verify Installation
Confirm the installation works.
1gobuster --version
Windows
Download Prebuilt Binary
Download the latest Windows binary from GitHub Releases. Extract and add to your PATH.
1# Download from: https://github.com/OJ/gobuster/releases
Using Chocolatey
If you have Chocolatey installed, Gobuster can be installed via command line.
1choco install gobuster
Docker
Official Docker Image
Run Gobuster in a container without installing it on your host.
1docker run --rm ghcr.io/oj/gobuster dir -u http://10.0.0.1/ -w /wordlists/common.txt
Build from Source
Using Go Install
If you have Go installed, you can install Gobuster directly from the source repository.
1go install github.com/OJ/gobuster/v3@latest
Clone and Build
Clone the repository and build manually for the latest development version.
1git clone https://github.com/OJ/gobuster.git && cd gobuster && go build -o gobuster
First Run
After installation, verify Gobuster works with a simple help command, then try your first scan.
1gobuster --help
1gobuster dir -u http://scanme.nmap.org/ -w /usr/share/wordlists/dirb/common.txt
Info
gobuster --help shows all available modes and flags. It is the fastest way to check what features your installed version supports.