wp-env

Set up and manage local WordPress environments via .wp-env.json configuration.

9|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/emdashcodes/wp-ability-toolkit --skill wp-env
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-env
Source: https://github.com/emdashcodes/wp-ability-toolkit/tree/main/claude-code-plugins/wp-env/skills/wp-env
Command: npx skills add https://github.com/emdashcodes/wp-ability-toolkit --skill wp-env

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Settings up and maintaining consistent local WordPress development environments can be time consuming and error-prone; wp-env streamlines this by bootstrapping Docker-based WordPress instances with automated tooling.

Core Features & Use Cases

  • Zero-config local WordPress environments for plugins and themes
  • Separate development and testing sandboxes with WP-CLI, PHPUnit, and debugging tools
  • Flexible configuration via .wp-env.json and environment overrides to fit multiple workflows

Quick Start

From your plugin or theme directory, run wp-env start to spin up development and testing environments.

Frequently Asked Questions about wp-env

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a local WordPress development environment using Docker?

You can set up a local WordPress development environment using Docker by running the wp-env start command from your plugin or theme directory to bootstrap isolated instances. This provides zero-config instances with WP-CLI and PHPUnit.

What is wp-env used for in WordPress plugin and theme development?

wp-env is used to automatically set up and manage local WordPress environments for plugin and theme development. It provides consistent local environments, rapid bootstrap, and isolated development and testing instances with WP-CLI and PHPUnit.

Can I configure port mappings and lifecycle scripts for my local WordPress environment?

Yes, you can configure port mappings and lifecycle scripts for your local WordPress environment. Configuration is enforced and documented via the .wp-env.json file, which also supports environment overrides and optional components.

Does wp-env support WP-CLI and PHPUnit within Docker containers?

Yes, wp-env supports containerized WP-CLI and PHPUnit. It creates separate development and testing sandboxes with these tools, alongside MySQL databases, to streamline your WordPress development and testing workflows.

Do I need Docker to manage local WordPress environments with wp-env?

Yes, you need Docker to manage local WordPress environments with wp-env. The tool bootstraps Docker-based WordPress instances to provide zero-config local setups and isolated testing sandboxes for your plugins and themes.