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

# Installation

> To install the getOperate CLI, follow these steps:

1. Make sure you have [Deno](https://deno.com/) installed. If not, you can install it by following the instructions [here](https://docs.deno.com/runtime/manual/getting_started/installation).

Please note that your version of Deno should be recent (greater than 1.32). If not, you can update Deno by running `deno upgrade`.

2. Install getOperate CLI using the following command in your terminal:

```bash theme={null}
deno install --unstable -A https://deno.land/x/getOperate/main.ts
```

Your terminal might also ask you to update your PATH environment variable to include the newly installed executable getOperate. Example:

Linux:

```bash theme={null}
export PATH="$HOME/.deno/bin:$PATH"
```

Mac:

```bash theme={null}
export PATH="/Users/<username>/.deno/bin:$PATH"
```

<Tip>
  In an enterprise setting with custom certificates, you can edit the getOperate binary to ignore CA issues:

  ```bash theme={null}
  sed -i 's/deno run/deno run --unsafely-ignore-certificate-errors/' ~/.deno/bin/getOperate
  ```

  Also, to punch through some networking layers like Cloudflare Tunnel, you might need some custom headers. You just need to use the HEADERS env variable:

  ```bash theme={null}
  export HEADERS=header_key:header_value,header_key2:header_value2
  ```
</Tip>

* Verify that the installation was successful by running the following command:

```
getOperate --version
```

If the installation was successful, you should see the version of getOperate that you just installed.

### Upgrade getOperate

To upgrade your getOperate installation to the latest version, run the following command:

```
getOperate upgrade
```

### Completion

The CLI comes with built-in completions for various shells. Use the following instructions to enable completions for your preferred shell.

**Bash**

To enable bash completions, add the following line to your \~/.bashrc:

```
source <(getOperate completions bash)
```

**Zsh**

To enable zsh completions, add the following line to your \~/.zshrc:

```
source <(getOperate completions zsh)
```

**Fish**

To enable fish completions, add the following line to your \~/.config/fish/config.fish:

```
source (getOperate completions fish | psub)
```
