---
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"}},{"@type":"Organization","@id":"https://wpengine.com/#organization","name":"WP Engine","url":"https://wpengine.com/"},{"@type":"TechArticle","@id":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/completion/bash/#article","mainEntityOfPage":{"@type":"WebPage","@id":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/completion/bash/"},"headline":"wpe completion bash","description":"Print terminal completions for bash.","author":{"@id":"https://wpengine.com/#organization"},"publisher":{"@id":"https://wpengine.com/#organization"},"dateModified":"2024-08-09","inLanguage":"en-US","isPartOf":{"@id":"https://developers.wpengine.com/#website"}},{"@type":"BreadcrumbList","@id":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/completion/bash/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"WP Engine Product Documentation","item":"https://developers.wpengine.com/"},{"@type":"ListItem","position":2,"name":"Headless","item":"https://developers.wpengine.com/docs/headless-platform/"},{"@type":"ListItem","position":3,"name":"wpe completion bash","item":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/completion/bash/"}]}]}
```
