Install DevKit
Download
Section titled “Download”Download DevKit from getdevkit.app.
macOS: builds for Apple silicon and Intel Macs, for macOS 13 or later. Open the downloaded .dmg and drag DevKit to Applications. DevKit is signed and notarised by Apple, so it opens like any other app.
Windows: for Windows 10 or 11 (64-bit). Run the downloaded installer; it installs for your user account only. The installer isn’t signed yet, so the first time Windows shows Windows protected your PC: choose More info, then Run anyway. See Windows for what’s different there.
When DevKit opens for the first time it checks that ports 80 and 443 are free. If another program holds them, setup names it; quit that program and choose Check again. DevKit never stops other programs for you.
Then setup asks for your administrator password once, to make two changes:
| Change | Why |
|---|---|
/Library/LaunchDaemons/app.getdevkit.daemon.plist |
Lets macOS open ports 80 and 443 on 127.0.0.1 and hand them to DevKit, which runs as your user |
/etc/resolver/test |
Sends lookups for .test names to DevKit’s DNS server on 127.0.0.1:5354 |
Next, macOS asks you to trust the DevKit certificate authority in your login keychain. It can only sign .test names, so it can’t be used to impersonate other websites.
DevKit’s own code never runs as an administrator. Settings › Remove reverses every change; see Remove DevKit.
After setup
Section titled “After setup”DevKit starts with no sites. Add your projects next: Sites.
To use DevKit’s php, composer and devkit commands in your own terminal, see Terminal.