Skip to content

Install Requirements

Use this page when setting up a machine to build PWAKit-based iOS apps.

Required software

ToolMinimumNotes
macOS14Needed for iOS simulator and Xcode
Xcode15Includes Swift toolchain and simulator runtimes
Node.js20Required for npx @pwa-kit/cli
npm10+Comes with Node 20
Internet-Needed for template and manifest fetch during init

Verify environment

bash
xcodebuild -version
node --version
npm --version

CLI usage choices

Recommended (no install):

bash
npx @pwa-kit/cli init my-pwa-ios

Optional global install:

bash
npm install -g @pwa-kit/cli
pwa-kit init

Common setup issues

  • xcodebuild not found: install Xcode and command line tools.
  • npx @pwa-kit/cli ... fails: check Node/npm version and network access.
  • Template download fails: retry with stable internet; optionally pin --template-version.

Released under the MIT License.