---
title: wpe completion bash
description: Print terminal completions for bash.
url: https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/completion/bash/
image: https://developers.wpengine.com/og/docs/headless-platform/reference/cli/wpe/completion/bash.png
---

# wpe completion bash

## Description

Print terminal completions for bash.

## Usage

Terminal window

```bash
$ wpe completion bash [OPTIONS]
```

## Extended Description

The `wpe completion bash` command will print tab completion configuration for bash. Use this to pipe to a bash completion file as follows:

On Linux:

Terminal window

```bash
$ wpe completion bash > /etc/bash_completion.d/wpe
```

On MacOS:

Terminal window

```bash
$ wpe completion bash > /usr/local/etc/bash_completion.d/wpe
```

## Options

```
--help, -h    Help for bash
```

## Was this helpful?

Thanks for the feedback!

```json
{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://developers.wpengine.com/#website","name":"WP Engine Product Documentation","url":"https://developers.wpengine.com/","description":"Resources for developing, deploying, and scaling on WP Engine.","inLanguage":"en-US","keywords":["API documentation","product documentation","headless WordPress","managed WordPress hosting"],"publisher":{"@id":"https://wpengine.com/#organization"}}]}
```
