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

# Installation

> How to install the Tunnel CLI.

## NPM

<Tabs>
  <Tab title="Local installation">
    <CodeGroup>
      ```bash npm theme={null}
      npm install @tunnel/cli
      ```

      ```bash yarn theme={null}
      yarn add @tunnel/cli
      ```

      ```bash pnpm theme={null}
      pnpm add @tunnel/cli
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Global installation">
    <CodeGroup>
      ```bash npm theme={null}
      npm install -g @tunnel/cli
      ```

      ```bash yarn theme={null}
      yarn global add @tunnel/cli
      ```

      ```bash pnpm theme={null}
      pnpm add -g @tunnel/cli
      ```
    </CodeGroup>
  </Tab>
</Tabs>

## Homebrew

```bash theme={null}
brew install tunnel-labs/tunnel/tunnel-cli
```
