---
title: wpe apps init
description: Generate a wpe.json file for deploying a new WP Engine Headless Application
url: https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/apps/init/
image: https://developers.wpengine.com/og/docs/headless-platform/reference/cli/wpe/apps/init.png
---

# wpe apps init

## Description

Generate a `wpe.json` file for deploying a new WP Engine Headless Application

## Usage

Terminal window

```bash
$ wpe apps init [OPTIONS]
```

## Extended Description

The `wpe apps init` command provides takes you through a series of prompts in order to generate a `wpe.json` for a WP Engine Headless Application. You can then use the generated `wpe.json` file with the [`wpe apps create`](https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/apps/create) command to deploy your app.

> **Note**
>
> You need to have a GitHub repository with an app ready to be deployed in order to make this command work properly.

## Options

```
--help, -h    Help for list
```

## 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/apps/init/#article","mainEntityOfPage":{"@type":"WebPage","@id":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/apps/init/"},"headline":"wpe apps init","description":"Generate a wpe.json file for deploying a new WP Engine Headless Application","author":{"@id":"https://wpengine.com/#organization"},"publisher":{"@id":"https://wpengine.com/#organization"},"dateModified":"2026-03-16","inLanguage":"en-US","isPartOf":{"@id":"https://developers.wpengine.com/#website"}},{"@type":"BreadcrumbList","@id":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/apps/init/#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 apps init","item":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/apps/init/"}]}]}
```
