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

# wpe completion zsh

## Description

Print terminal completions for zsh.

## Usage

Terminal window

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

## Extended Description

The `wpe completion zsh` command will print tab completion configuration for zsh. If shell completion is not already enabled in your environment you will need to enable it by running the following command:

Terminal window

```bash
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
```

To load completions for each session run the following command once:

Terminal window

```bash
$ wpe completion zsh > "${fpath[1]}/_wpe"
```

## Options

```
--help, -h    Help for zsh
```

## 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"}}]}
```
