# Local Mac 版：在自己的 Mac 上运行 WordPress 站点

_As of 2026-11-28_

- **Version:** 10.2.0
- **macOS min:** 12
- **License:** Free

Local 由 WP Engine 开发，可以在你的 Mac 上搭建 WordPress 站点，每个站点都有自己的 Web 服务器、PHP 和 MySQL。它用来在站点上线之前进行开发和测试。

WordPress needs a web server, PHP and a database, which is tedious to set up by hand for every project. Local creates all three for each site and installs WordPress on top.
What it does well

Quick setup. Name a site; Local installs WordPress, creates a self-signed certificate and can log you into the admin in one click.
Switchable environment. Change the PHP version or swap nginx for Apache on a single site without reinstalling anything.
Developer tools. A site shell with WP-CLI, Xdebug, log files, and Mailpit to catch the email a site sends.
Sharing and reuse. Live Links give a client a password-protected public address for a site on your Mac; Blueprints save a setup as a template.

Who it is for
Freelancers, agencies and theme or plugin developers who build WordPress sites before they go live, and learners who want WordPress without paying for hosting.
Good to know
Local handles WordPress only; for Laravel and other PHP projects, Laravel Herd is the closer fit. Direct push and pull exists only for sites hosted at WP Engine or Flywheel. The download form asks for an email address.
How to install

On the download page, choose the build for your chip.
Open the disk image and drag Local to Applications.
The first time you open it, macOS asks you to confirm an app downloaded from the internet; click Open.
Create your first site and keep the Preferred environment unless you need specific versions.

> Source: https://macsoftpark.net/zh/local-wp/
