> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectdiscovery.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing dnsx

> Learn about how to install and get started with dnsx

<Tabs>
  <Tab title="Go">
    <Note> Enter the command below in a terminal to install ProjectDiscovery's dnsx using Go. </Note>

    ```bash theme={null}
    go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest
    ```
  </Tab>

  <Tab title="Brew">
    ```bash theme={null}
    brew install dnsx
    ```

    <Note>Supported in **macOS** (or Linux)</Note>
  </Tab>

  <Tab title="Docker">
    ```bash theme={null}
    docker pull projectdiscovery/dnsx:latest
    ```
  </Tab>

  <Tab title="Binary">
    ```bash theme={null}
    https://github.com/projectdiscovery/dnsx/releases
    ```

    <Tip>
      * Download the latest binary for your OS.
      * Unzip the ready to run binary.
    </Tip>
  </Tab>
</Tabs>

## Installation Notes

* dnsx requires the latest version of [**Go**](https://go.dev/doc/install)
* Add the Go bin path to the system paths. On OSX or Linux, in your terminal use

```
echo export $PATH=$PATH:$HOME/go/bin >> $home/.bashrc
source $home/.bashrc
```

* To add the Go bin path in Windows, [click this link for instructions.](https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/)
* The binary will be located in `$home/go/bin/dnsx`
