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

# Installing the CLI

<Frame>
  <iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/CelgPjcB2nU" title="Installing the CLI" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />
</Frame>

## macOS

### Homebrew

```bash theme={null}
brew tap pipedreamhq/pd-cli
brew install pipedreamhq/pd-cli/pipedream
```

### Install script

Run the following command:

```bash theme={null}
curl https://cli.pipedream.com/install | sh
```

This will download and install the latest `pd` CLI to your Mac. You can also download the macOS build for either [Apple silicon](https://cli.pipedream.com/darwin/arm64/latest/pd.zip) or [Intel](https://cli.pipedream.com/darwin/amd64/latest/pd.zip)-based Macs, `unzip` that archive, and place the `pd` binary somewhere in [your `PATH`](https://opensource.com/article/17/6/set-path-linux).

If this returns a permissions error, you may need to run:

```bash theme={null}
curl https://cli.pipedream.com/install | sudo sh
```

## Linux

Download the [CLI build](/cli/install/#cli-builds) for your architecture below. Unzip that archive, and place the `pd` binary somewhere in [your `PATH`](https://opensource.com/article/17/6/set-path-linux).

## Windows (native)

[Download the CLI build for Windows](https://cli.pipedream.com/windows/amd64/latest/pd.zip). Unzip that archive, save `pd.exe` in Program Files, and [add its file path to `Path` in your system environment variables](https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/). Use `pd.exe` in a terminal that supports ANSI colors, like the [Windows Terminal](https://github.com/microsoft/terminal).

## Windows (WSL)

Download the appropriate [Linux CLI build](/cli/install/#cli-builds) for your architecture. Unzip that archive, and place the `pd` binary somewhere in [your `PATH`](https://opensource.com/article/17/6/set-path-linux).

## CLI Builds

Pipedream publishes the following builds of the CLI. If you need to use the CLI on another OS or architecture, [please reach out](https://pipedream.com/support/).

| Operating System | Architecture  | Link                                                              |
| ---------------- | ------------- | ----------------------------------------------------------------- |
| Linux            | amd64         | [download](https://cli.pipedream.com/linux/amd64/latest/pd.zip)   |
| Linux            | arm64         | [download](https://cli.pipedream.com/linux/arm64/latest/pd.zip)   |
| macOS            | Intel         | [download](https://cli.pipedream.com/darwin/amd64/latest/pd.zip)  |
| macOS            | Apple silicon | [download](https://cli.pipedream.com/darwin/arm64/latest/pd.zip)  |
| Windows          | x64           | [download](https://cli.pipedream.com/windows/amd64/latest/pd.zip) |

## Community Libraries

<Warning>
  Please note that Pipedream does not verify the correctness or security of these community libraries. Use them at your own risk.
</Warning>

### Nix

The `pd` binary is available via Nix flake [here](https://github.com/planet-a-ventures/pipedream-cli)

## Help

Run `pd` to see a list of all commands, or `pd help <command>` to display help docs for a specific command.

See the [CLI reference](/cli/reference/) for detailed usage and examples for each command.
