Skip to main content

Napacitor CLI - nap open

Open the MAUI host project with the operating system's default handler.

npx nap open [maui]

Behavior:

  • Locates the host App.csproj (maui/App.csproj by default).
  • On Windows, opens the .csproj with the default handler (typically Visual Studio).
  • On macOS, runs open on the project file (Visual Studio for Mac / Rider).
  • On Linux, runs xdg-open.

Example:

npx nap open maui

You can also open the maui/ folder directly in your IDE. See Running with an IDE.