Environment Setup
Napacitor's native layer is .NET MAUI, so in addition to Node.js you need the .NET 10 SDK and the MAUI workloads for the platforms you target. Napacitor apps can target Android, iOS, Mac Catalyst, and Windows from one codebase.
Core Requirements
To develop any application with Napacitor you need Node.js 18 or higher installed (for the nap CLI). You can install Node by using the installer on the Node website, using Volta: a JavaScript tools manager, or installing it with a package manager like homebrew or Chocolatey.
Once you have installed Node, open your terminal of choice and verify:
node --version
# v22.x.x
npm --version
# 10.x.x
You also need the .NET 10 SDK. Install it from the .NET downloads page (pick the right architecture on Apple Silicon: Arm64) or via Homebrew (brew install --cask dotnet-sdk).
dotnet --version
# 10.0.xxx
Windows Requirements
Building Windows apps requires Windows 10 (1809+) or Windows 11. Install the MAUI workload:
dotnet workload install maui
The workload brings the Windows App SDK; no separate SDK install is needed. Visual Studio 2022 (with the .NET Multi-platform App UI development workload) is optional but recommended for debugging.
Android Requirements
Building Android apps requires:
- The
mauiworkload (same command as above, run on any OS); - An Android SDK installation.
dotnet workload install maui
You do not need to separately install the Java Development Kit (JDK). The .NET Android workload uses its own JDK.
Install the Android SDK through Android Studio (open Tools → SDK Manager), and install the platform package for the API level you target (e.g. API 36 for Android 16). The SDK directory is normally detected automatically (%LOCALAPPDATA%\Android\Sdk on Windows); you can point ANDROID_HOME at it if detection fails.
Running apps needs an emulator or a device with USB debugging on — see Troubleshooting if deployment fails with XA0010.
iOS & Mac Catalyst Requirements
Building Apple-platform apps requires macOS (Intel or Apple Silicon) and Xcode.
- Install Xcode from the App Store and launch it once to accept the license and complete component installation;
- Install the Xcode Command Line Tools:
xcode-select --install
- Install the Apple workloads (this downloads large packs — be patient):
dotnet workload install ios maccatalyst
- Verify:
xcodebuild -version
dotnet workload list
# ios 26.x.xxx/net10.0
# maccatalyst 26.x.xxx/net10.0
The major version shown in dotnet workload list (e.g. 26) should match your Xcode major version, and the versioned TFM in maui/App.csproj must match it too. See Setting Target Frameworks for details.
Disk note: Xcode itself is ~15 GB+ and the .NET workloads add several more GB. Ensure at least 30 GB free.
Verify Everything Works
Run dotnet --version and dotnet workload list — both must succeed. Then follow the Installation guide to create your first app.