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

> Learn about how to install and get started with httpx

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

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

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

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

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

  <Tab title="GitHub">
    <Note> Enter the commands below in a terminal to install ProjectDiscovery's httpx using GitHub. </Note>

    ```bash theme={null}
    git clone https://github.com/projectdiscovery/httpx.git; \
    cd httpx/cmd/httpx; \
    go build; \
    mv httpx /usr/local/bin/; \
    httpx -version;
    ```
  </Tab>

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

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

## Installation Notes

* httpx 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/httpx`
